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