File tree Expand file tree Collapse file tree 1 file changed +21
-30
lines changed Expand file tree Collapse file tree 1 file changed +21
-30
lines changed Original file line number Diff line number Diff line change 1
- version : " 2"
1
+ formatters :
2
+ enable :
3
+ - gofumpt
4
+ - goimports
5
+ settings :
6
+ goimports :
7
+ local-prefixes :
8
+ - github.com/prometheus/common
9
+ issues :
10
+ max-issues-per-linter : 0
11
+ max-same-issues : 0
2
12
linters :
3
13
enable :
4
14
- errorlint
5
15
- misspell
6
16
- perfsprint
7
17
- revive
8
18
- testifylint
19
+ exclusions :
20
+ generated : strict
21
+ presets :
22
+ - comments
23
+ - common-false-positives
24
+ - legacy
25
+ - std-error-handling
26
+ warn-unused : true
9
27
settings :
10
28
perfsprint :
11
29
# Optimizes even if it requires an int or uint type cast.
@@ -25,36 +43,9 @@ linters:
25
43
severity : warning
26
44
disabled : true
27
45
testifylint :
28
- enable-all : true
29
46
disable :
30
47
- go-require
48
+ enable-all : true
31
49
formatter :
32
50
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$
51
+ version : " 2"
You can’t perform that action at this time.
0 commit comments