File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed
Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change 1+ ---
12# golangci-lint configuration
2- # https://golangci-lint.run /usage/configuration/
3+ # https://golangci.github.io/legacy-v1-doc /usage/configuration/
34
45# Options for analysis running
6+
57run :
68 timeout : 5m
79 tests : true
8- skip-dirs :
9- - vendor
10- - third_party
11- skip-files :
12- - " .*\\ .pb\\ .go$"
1310 modules-download-mode : readonly
1411
1512linters :
@@ -22,17 +19,24 @@ linters:
2219
2320linters-settings :
2421 govet :
25- check-shadowing : true
22+ settings :
23+ shadow : {}
2624 errcheck :
2725 check-type-assertions : true
2826 check-blank : false
2927
3028issues :
29+ exclude-dirs :
30+ - vendor
31+ - third_party
32+ exclude-files :
33+ - " .*\\ .pb\\ .go$"
34+
3135 # Exclude typecheck errors - these are false positives in v1.55.2
3236 exclude :
3337 - " undefined: redis"
3438 - " undefined: quic"
35-
39+
3640 exclude-rules :
3741 # Be more lenient with test files
3842 - path : _test\.go
You can’t perform that action at this time.
0 commit comments