File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1414
1515run :
1616 modules-download-mode : readonly
17- deadline : 20m
18- skip-files :
19- - zz_generated.*.go
17+ timeout : 20m
2018
2119linters :
2220 enable :
2321 - asciicheck
2422 - bidichk
2523 - bodyclose
24+ - copyloopvar
2625 - depguard
2726 - durationcheck
2827 - errcheck
2928 - errname
3029 - errorlint
31- - exportloopref
3230 - goconst
3331 - gocritic
3432 - gocyclo
@@ -51,10 +49,14 @@ linters:
5149 - wastedassign
5250 - whitespace
5351 disable-all : true
52+
5453issues :
5554 # defaults to 3, which often needlessly hides issues and forces
5655 # to re-run the linter across the entire repo many times
57- max-same-issues : 50
56+ max-same-issues : 0
57+
58+ exclude-files :
59+ - zz_generated.*.go
5860
5961 # NOTE: Do not use commas in the exclude patterns, or else the regex will be
6062 # split and you will be sad: https://github.com/golangci/golangci-lint/issues/665
You can’t perform that action at this time.
0 commit comments