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,7 +16,9 @@ linters:
1716 - usestdlibvars
1817 - wastedassign
1918 exclusions :
20- generated : lax
19+ generated : strict
20+ paths :
21+ - ^.*\.(pb|y)\.go$
2122 presets :
2223 - comments
2324 - common-false-positives
@@ -30,11 +31,7 @@ linters:
3031 - structcheck
3132 - nolintlint
3233 path : _test.go
33- paths :
34- - ^.*\.(pb|y)\.go$
35- - third_party$
36- - builtin$
37- - examples$
34+ warn-unused : true
3835 settings :
3936 depguard :
4037 rules :
@@ -65,26 +62,21 @@ linters:
6562 strconcat : true
6663 revive :
6764 rules :
68-
6965 - name : unused-parameter
7066 severity : warning
7167 disabled : true
72-
7368formatters :
7469 enable :
7570 - gofmt
7671 - gofumpt
7772 - goimports
73+ exclusions :
74+ generated : strict
75+ paths :
76+ - ^.*\.(pb|y)\.go$
7877 settings :
7978 gofumpt :
8079 extra-rules : true
8180 goimports :
8281 local-prefixes :
8382 - github.com/prometheus/client_golang
84- exclusions :
85- generated : lax
86- paths :
87- - ^.*\.(pb|y)\.go$
88- - third_party$
89- - builtin$
90- - examples$
You can’t perform that action at this time.
0 commit comments