File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 7
7
linters :
8
8
disable-all : true
9
9
enable :
10
- - deadcode
11
10
- errcheck
12
11
- gosimple
13
12
- govet
14
13
- ineffassign
15
14
- staticcheck
16
- - structcheck
17
15
- typecheck
18
- - unused
19
- - varcheck # everything below this is in addition to enabled-by-default
16
+ - unused # everything below this is in addition to enabled-by-default
20
17
21
18
- goimports
22
19
- exportloopref # successor of "scopelint"
@@ -27,14 +24,15 @@ linters:
27
24
- predeclared
28
25
- gosec
29
26
- gocritic
27
+ - nonamedreturns
30
28
31
29
# These looked promising but weren't worth the trouble:
32
30
# - gomnd # too strict
33
31
# - tagliatelle # naming, not struct tag validness..
34
32
35
- # full list available by running: $ golangci-lint linter
33
+ # full list available by running: $ golangci-lint linters
36
34
37
35
linters-settings :
38
36
gocritic :
39
37
disabled-checks :
40
- - ifElseChain # false positives (some if-else chains with "short ifs" look more cumbersome rewritten)
38
+ - ifElseChain # false positives (some if-else chains with "short ifs" look more cumbersome rewritten)
You can’t perform that action at this time.
0 commit comments