File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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+ paths :
20+ - ^.*\.(pb|y)\.go$
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+ 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,6 @@ formatters:
8276 local-prefixes :
8377 - github.com/prometheus/client_golang
8478 exclusions :
85- generated : lax
79+ generated : strict
8680 paths :
8781 - ^.*\.(pb|y)\.go$
88- - third_party$
89- - builtin$
90- - examples$
You can’t perform that action at this time.
0 commit comments