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"
2- issues :
3- max-same-issues : 0
4-
52linters :
63 enable :
74 - copyloopvar
@@ -17,7 +14,9 @@ linters:
1714 - usestdlibvars
1815 - wastedassign
1916 exclusions :
20- generated : lax
17+ generated : strict
18+ paths :
19+ - ^.*\.(pb|y)\.go$
2120 presets :
2221 - comments
2322 - common-false-positives
@@ -30,11 +29,7 @@ linters:
3029 - structcheck
3130 - nolintlint
3231 path : _test.go
33- paths :
34- - ^.*\.(pb|y)\.go$
35- - third_party$
36- - builtin$
37- - examples$
32+ warn-unused : true
3833 settings :
3934 depguard :
4035 rules :
@@ -65,26 +60,23 @@ linters:
6560 strconcat : true
6661 revive :
6762 rules :
68-
6963 - name : unused-parameter
7064 severity : warning
7165 disabled : true
72-
66+ issues :
67+ max-same-issues : 0
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