File tree Expand file tree Collapse file tree 1 file changed +26
-12
lines changed Expand file tree Collapse file tree 1 file changed +26
-12
lines changed Original file line number Diff line number Diff line change 1- issues :
2- max-issues-per-linter : 0
3- max-same-issues : 0
4-
1+ version : " 2"
52linters :
6- disable-all : true
3+ default : none
74 enable :
85 - copyloopvar
96 - durationcheck
107 - errcheck
118 - forcetypeassert
12- - gofmt
13- - gosimple
9+ - govet
1410 - ineffassign
1511 - makezero
1612 - misspell
@@ -22,8 +18,26 @@ linters:
2218 - unparam
2319 - unused
2420 - usetesting
25- - govet
26-
27- run :
28- # Prevent false positive timeouts in CI
29- timeout : 5m
21+ exclusions :
22+ generated : lax
23+ presets :
24+ - comments
25+ - common-false-positives
26+ - legacy
27+ - std-error-handling
28+ paths :
29+ - third_party$
30+ - builtin$
31+ - examples$
32+ issues :
33+ max-issues-per-linter : 0
34+ max-same-issues : 0
35+ formatters :
36+ enable :
37+ - gofmt
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