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 1
1
version : " 2"
2
2
issues :
3
3
max-same-issues : 0
4
-
5
4
linters :
6
5
enable :
7
6
- copyloopvar
@@ -17,24 +16,21 @@ linters:
17
16
- usestdlibvars
18
17
- wastedassign
19
18
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
+ - structcheck
29
+ - nolintlint
30
+ path : _test.go
31
+ paths :
32
+ - ^.*\.(pb|y)\.go$
33
+ warn-unused : true
38
34
settings :
39
35
depguard :
40
36
rules :
@@ -65,11 +61,9 @@ linters:
65
61
strconcat : true
66
62
revive :
67
63
rules :
68
-
69
64
- name : unused-parameter
70
65
severity : warning
71
66
disabled : true
72
-
73
67
formatters :
74
68
enable :
75
69
- gofmt
@@ -82,9 +76,5 @@ formatters:
82
76
local-prefixes :
83
77
- github.com/prometheus/client_golang
84
78
exclusions :
85
- generated : lax
86
79
paths :
87
80
- ^.*\.(pb|y)\.go$
88
- - third_party$
89
- - builtin$
90
- - examples$
You can’t perform that action at this time.
0 commit comments