File tree Expand file tree Collapse file tree 1 file changed +10
-18
lines changed Expand file tree Collapse file tree 1 file changed +10
-18
lines changed Original file line number Diff line number Diff line change 1
1
version : " 2"
2
- issues :
3
- max-same-issues : 0
4
-
5
2
linters :
6
3
enable :
7
4
- copyloopvar
@@ -17,7 +14,9 @@ linters:
17
14
- usestdlibvars
18
15
- wastedassign
19
16
exclusions :
20
- generated : lax
17
+ generated : strict
18
+ paths :
19
+ - ^.*\.(pb|y)\.go$
21
20
presets :
22
21
- comments
23
22
- common-false-positives
@@ -30,11 +29,7 @@ linters:
30
29
- structcheck
31
30
- nolintlint
32
31
path : _test.go
33
- paths :
34
- - ^.*\.(pb|y)\.go$
35
- - third_party$
36
- - builtin$
37
- - examples$
32
+ warn-unused : true
38
33
settings :
39
34
depguard :
40
35
rules :
@@ -65,26 +60,23 @@ linters:
65
60
strconcat : true
66
61
revive :
67
62
rules :
68
-
69
63
- name : unused-parameter
70
64
severity : warning
71
65
disabled : true
72
-
66
+ issues :
67
+ max-same-issues : 0
73
68
formatters :
74
69
enable :
75
70
- gofmt
76
71
- gofumpt
77
72
- goimports
73
+ exclusions :
74
+ generated : strict
75
+ paths :
76
+ - ^.*\.(pb|y)\.go$
78
77
settings :
79
78
gofumpt :
80
79
extra-rules : true
81
80
goimports :
82
81
local-prefixes :
83
82
- 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