File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 77linters :
88 disable-all : true
99 enable :
10- - deadcode
1110 - errcheck
1211 - gosimple
1312 - govet
1413 - ineffassign
1514 - staticcheck
16- - structcheck
1715 - 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
2017
2118 - goimports
2219 - exportloopref # successor of "scopelint"
@@ -27,14 +24,15 @@ linters:
2724 - predeclared
2825 - gosec
2926 - gocritic
27+ - nonamedreturns
3028
3129 # These looked promising but weren't worth the trouble:
3230 # - gomnd # too strict
3331 # - tagliatelle # naming, not struct tag validness..
3432
35- # full list available by running: $ golangci-lint linter
33+ # full list available by running: $ golangci-lint linters
3634
3735linters-settings :
3836 gocritic :
3937 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