Skip to content

Commit 4b3f90d

Browse files
committed
golang-ci: sort linters, and replace golint (deprecated) with revive
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 6939505 commit 4b3f90d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.golangci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
linters:
22
enable:
3-
- structcheck
4-
- varcheck
5-
- staticcheck
6-
- unconvert
73
- gofmt
84
- goimports
9-
- golint
105
- ineffassign
11-
- vet
12-
- unused
136
- misspell
7+
- revive
8+
- staticcheck
9+
- structcheck
10+
- unconvert
11+
- unused
12+
- varcheck
13+
- vet
1414
disable:
1515
- errcheck
1616

console.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func Current() (c Console) {
7878
}
7979

8080
// ConsoleFromFile returns a console using the provided file
81-
// nolint:golint
81+
// nolint:revive
8282
func ConsoleFromFile(f File) (Console, error) {
8383
if err := checkConsole(f); err != nil {
8484
return nil, err

0 commit comments

Comments
 (0)