File tree Expand file tree Collapse file tree 1 file changed +34
-29
lines changed Expand file tree Collapse file tree 1 file changed +34
-29
lines changed Original file line number Diff line number Diff line change 1- version : " 2"
1+ formatters :
2+ enable :
3+ - gofumpt
4+ - goimports
5+
6+ exclusions :
7+ generated : strict
8+
9+ settings :
10+ goimports :
11+ local-prefixes :
12+ - github.com/prometheus/common
13+
14+ issues :
15+ max-issues-per-linter : 0
16+
17+ max-same-issues : 0
18+
219linters :
320 enable :
421 - errorlint
522 - misspell
623 - perfsprint
724 - revive
825 - testifylint
26+
27+ exclusions :
28+ generated : strict
29+
30+ presets :
31+ - comments
32+ - common-false-positives
33+ - legacy
34+ - std-error-handling
35+
36+ warn-unused : true
37+
938 settings :
1039 perfsprint :
1140 # Optimizes even if it requires an int or uint type cast.
@@ -18,43 +47,19 @@ linters:
1847 sprintf1 : true
1948 # Optimizes into strings concatenation.
2049 strconcat : false
50+
2151 revive :
2252 rules :
2353 # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter
2454 - name : unused-parameter
2555 severity : warning
2656 disabled : true
57+
2758 testifylint :
2859 enable-all : true
2960 disable :
3061 - go-require
3162 formatter :
3263 require-f-funcs : true
33- exclusions :
34- generated : lax
35- presets :
36- - comments
37- - common-false-positives
38- - legacy
39- - std-error-handling
40- paths :
41- - third_party$
42- - builtin$
43- - examples$
44- issues :
45- max-issues-per-linter : 0
46- max-same-issues : 0
47- formatters :
48- enable :
49- - gofumpt
50- - goimports
51- settings :
52- goimports :
53- local-prefixes :
54- - github.com/prometheus/common
55- exclusions :
56- generated : lax
57- paths :
58- - third_party$
59- - builtin$
60- - examples$
64+
65+ version : " 2"
You can’t perform that action at this time.
0 commit comments