File tree Expand file tree Collapse file tree 1 file changed +33
-14
lines changed
Expand file tree Collapse file tree 1 file changed +33
-14
lines changed Original file line number Diff line number Diff line change 1+ version : " 2"
12linters :
23 enable :
34 - dogsled
45 - dupl
5- - gofmt
6- - goimports
76 - gosec
87 - misspell
98 - nakedret
10- - stylecheck
9+ - staticcheck
1110 - unconvert
1211 - unparam
1312 - whitespace
14- linters-settings :
15- stylecheck :
16- checks :
17- - all
18- - ' -ST1003' # disable uppercase acronyms, like Google Go SDK
19- issues :
20- exclude-rules :
21- - path : openapi2/copy.go
22- text : " `copyOrIgnoreEndpoint` - `path` is unused"
23- - path : openapi2/copy.go
24- text : " `copyOrIgnoreEndpoint` - `specOld` is unused"
13+ settings :
14+ staticcheck :
15+ checks :
16+ - -ST1003
17+ - all
18+ exclusions :
19+ generated : lax
20+ presets :
21+ - comments
22+ - common-false-positives
23+ - legacy
24+ - std-error-handling
25+ rules :
26+ - path : openapi2/copy.go
27+ text : ' `copyOrIgnoreEndpoint` - `path` is unused'
28+ - path : openapi2/copy.go
29+ text : ' `copyOrIgnoreEndpoint` - `specOld` is unused'
30+ paths :
31+ - third_party$
32+ - builtin$
33+ - examples$
34+ formatters :
35+ enable :
36+ - gofmt
37+ - goimports
38+ exclusions :
39+ generated : lax
40+ paths :
41+ - third_party$
42+ - builtin$
43+ - examples$
You can’t perform that action at this time.
0 commit comments