File tree Expand file tree Collapse file tree 1 file changed +22
-17
lines changed
Expand file tree Collapse file tree 1 file changed +22
-17
lines changed Original file line number Diff line number Diff line change 1- # Refer to golangci-lint's example config file for more options and information:
2- # https://github.com/golangci/golangci-lint/blob/master/.golangci.reference.yml
3-
1+ version : " 2"
42run :
5- timeout : 5m
63 modules-download-mode : readonly
7- exclude-dirs :
8- - vendor
9- - third_party
10-
114linters :
125 enable :
13- - errcheck
14- - gosimple
15- - goimports
16- - govet
17- - staticcheck
18- - unused
19- - ineffassign
206 - bodyclose
217 - gocognit
228 - godox
@@ -26,7 +12,26 @@ linters:
2612 - reassign
2713 - wastedassign
2814 - whitespace
29-
15+ exclusions :
16+ generated : lax
17+ presets :
18+ - comments
19+ - common-false-positives
20+ - legacy
21+ - std-error-handling
22+ paths :
23+ - third_party$
24+ - builtin$
25+ - examples$
3026issues :
3127 max-issues-per-linter : 0
32- max-same-issues : 0
28+ max-same-issues : 0
29+ formatters :
30+ enable :
31+ - goimports
32+ exclusions :
33+ generated : lax
34+ paths :
35+ - third_party$
36+ - builtin$
37+ - examples$
You can’t perform that action at this time.
0 commit comments