File tree Expand file tree Collapse file tree 1 file changed +15
-25
lines changed
Expand file tree Collapse file tree 1 file changed +15
-25
lines changed Original file line number Diff line number Diff line change 11version : " 2"
22issues :
33 max-same-issues : 0
4-
54linters :
65 enable :
76 - copyloopvar
@@ -17,24 +16,21 @@ linters:
1716 - usestdlibvars
1817 - wastedassign
1918 exclusions :
20- generated : lax
21- presets :
22- - comments
23- - common-false-positives
24- - legacy
25- - std-error-handling
26- rules :
27- - linters :
28- - errcheck
29- - govet
30- - structcheck
31- - nolintlint
32- path : _test.go
33- paths :
34- - ^.*\.(pb|y)\.go$
35- - third_party$
36- - builtin$
37- - examples$
19+ presets :
20+ - comments
21+ - common-false-positives
22+ - legacy
23+ - std-error-handling
24+ rules :
25+ - linters :
26+ - errcheck
27+ - govet
28+ - nolintlint
29+ - structcheck
30+ path : _test.go
31+ paths :
32+ - ^.*\.(pb|y)\.go$
33+ warn-unused : true
3834 settings :
3935 depguard :
4036 rules :
@@ -65,11 +61,9 @@ linters:
6561 strconcat : true
6662 revive :
6763 rules :
68-
6964 - name : unused-parameter
7065 severity : warning
7166 disabled : true
72-
7367formatters :
7468 enable :
7569 - gofmt
@@ -82,9 +76,5 @@ formatters:
8276 local-prefixes :
8377 - github.com/prometheus/client_golang
8478 exclusions :
85- generated : lax
8679 paths :
8780 - ^.*\.(pb|y)\.go$
88- - third_party$
89- - builtin$
90- - examples$
You can’t perform that action at this time.
0 commit comments