File tree 1 file changed +29
-26
lines changed
1 file changed +29
-26
lines changed Original file line number Diff line number Diff line change 1
- version : " 2"
1
+ formatters :
2
+ enable :
3
+ - gofmt
4
+ - goimports
5
+
6
+ exclusions :
7
+ generated : strict
8
+
9
+ settings :
10
+ goimports :
11
+ local-prefixes :
12
+ - github.com/prometheus/procfs
13
+
2
14
linters :
3
15
enable :
4
16
- forbidigo
5
17
- godot
6
18
- misspell
7
19
- revive
8
20
- testifylint
21
+
22
+ exclusions :
23
+ generated : strict
24
+
25
+ presets :
26
+ - comments
27
+ - common-false-positives
28
+ - legacy
29
+ - std-error-handling
30
+
31
+ warn-unused : true
32
+
9
33
settings :
10
34
forbidigo :
11
35
forbid :
12
36
- pattern : ^fmt\.Print.*$
13
37
msg : Do not commit print statements.
38
+
14
39
godot :
15
40
exclude :
16
41
# Ignore "See: URL".
17
42
- ' See:'
18
43
capital : true
44
+
19
45
misspell :
20
46
locale : US
21
- exclusions :
22
- generated : lax
23
- presets :
24
- - comments
25
- - common-false-positives
26
- - legacy
27
- - std-error-handling
28
- paths :
29
- - third_party$
30
- - builtin$
31
- - examples$
32
- formatters :
33
- enable :
34
- - gofmt
35
- - goimports
36
- settings :
37
- goimports :
38
- local-prefixes :
39
- - github.com/prometheus/procfs
40
- exclusions :
41
- generated : lax
42
- paths :
43
- - third_party$
44
- - builtin$
45
- - examples$
47
+
48
+ version : " 2"
You can’t perform that action at this time.
0 commit comments