File tree Expand file tree Collapse file tree 1 file changed +24
-37
lines changed Expand file tree Collapse file tree 1 file changed +24
-37
lines changed Original file line number Diff line number Diff line change 1- version : 2
2-
3- run :
4- timeout : 5m
5-
1+ version : " 2"
62linters :
73 enable :
8- - errcheck
9- - govet
10- - ineffassign
11- - staticcheck
12- - unused
13- - goconst
144 - gocyclo
155 - misspell
16- - dupl
17- - unconvert
18- - whitespace
196 - revive
20-
21- linters-settings :
22- gocyclo :
23- min-complexity : 15
24- dupl :
25- threshold : 100
26- goconst :
27- min-len : 2
28- min-occurrences : 2
29- misspell :
30- locale : US
31- revive :
7+ settings :
8+ gocyclo :
9+ min-complexity : 15
10+ exclusions :
11+ generated : lax
12+ presets :
13+ - comments
14+ - common-false-positives
15+ - legacy
16+ - std-error-handling
3217 rules :
33- - name : exported
34- disabled : true
35-
36- issues :
37- exclude-rules :
38- - path : _test\.go
39- linters :
40- - goconst
41- - path : cmd/
42- linters :
43- - gocyclo
18+ - path : (.+)\.go$
19+ text : SA5008 # ignore staticcheck for go-flags
20+ paths :
21+ - third_party$
22+ - builtin$
23+ - examples$
24+ formatters :
25+ exclusions :
26+ generated : lax
27+ paths :
28+ - third_party$
29+ - builtin$
30+ - examples$
You can’t perform that action at this time.
0 commit comments