Skip to content

Commit 172122d

Browse files
committed
Restore old linters
1 parent 8070365 commit 172122d

File tree

1 file changed

+12
-20
lines changed

1 file changed

+12
-20
lines changed

.golangci.yaml

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,22 @@ run:
33
allow-parallel-runners: true
44
linters:
55
enable:
6-
- containedctx
7-
- copyloopvar
8-
- errname
9-
- errorlint
6+
- errcheck
7+
- gosimple
8+
- govet
9+
- ineffassign
10+
- staticcheck
11+
- typecheck
12+
- unused
13+
# extra
1014
- exhaustive
11-
- fatcontext
12-
- ginkgolinter
13-
- gocritic
15+
- copyloopvar
16+
- revive
1417
- goimports
1518
- gosec
16-
- loggercheck
17-
- mirror
1819
- misspell
19-
- noctx
20-
- nolintlint
21-
- perfsprint
22-
- prealloc
23-
- revive
24-
- rowserrcheck
25-
- spancheck
26-
- sqlclosecheck
27-
- testifylint
28-
- unconvert
29-
- whitespace
20+
- errorlint
21+
- contextcheck
3022
linters-settings:
3123
exhaustive:
3224
default-signifies-exhaustive: true

0 commit comments

Comments
 (0)