File tree Expand file tree Collapse file tree 1 file changed +56
-46
lines changed Expand file tree Collapse file tree 1 file changed +56
-46
lines changed Original file line number Diff line number Diff line change 1
- run :
2
- timeout : 3m
3
-
4
- issues :
5
- max-issues-per-linter : 100
6
- max-same-issues : 100
7
- exclude :
8
- - " Added to album: "
9
-
10
- linters-settings :
11
- gocritic :
12
- enabled-checks :
13
- # - captLocal
14
- # - singleCaseSwitch
15
- # - switchTrue
16
- - httpNoBody
17
- - emptyStringTest
18
- - builtinShadow
19
- - exposedSyncMutex
20
- enabled-tags :
21
- - diagnostic
22
- disabled-tags :
23
- - performance
24
- - style
25
- - experimental
26
- - opinionated
27
-
1
+ version : " 2"
28
2
linters :
29
- disable-all : true
3
+ default : none
30
4
enable :
31
- - gocritic
32
- - gosimple
33
- - govet
34
- - ineffassign
35
- - misspell
36
- - whitespace
37
- - gci
38
- - gofmt
39
- - goimports
40
- - loggercheck
41
5
- asasalint
42
6
- contextcheck
7
+ - copyloopvar
43
8
- decorder
44
9
- dogsled
10
+ - errcheck
45
11
- errchkjson
46
- - copyloopvar
47
12
- ginkgolinter
48
13
- gocheckcompilerdirectives
14
+ - goconst
15
+ - gocritic
49
16
- goprintffuncname
17
+ - govet
18
+ - ineffassign
19
+ - loggercheck
20
+ - makezero
50
21
- mirror
22
+ - misspell
51
23
- nakedret
52
- - gofumpt
53
- - stylecheck
54
- - unused
55
- - goconst
56
- - makezero
57
- - unparam
58
24
- prealloc
59
25
- predeclared
26
+ - staticcheck
60
27
- unconvert
61
28
- unparam
29
+ - unused
62
30
- whitespace
63
- - errcheck
31
+ settings :
32
+ gocritic :
33
+ enabled-checks :
34
+ - httpNoBody
35
+ - emptyStringTest
36
+ - builtinShadow
37
+ - exposedSyncMutex
38
+ enabled-tags :
39
+ - diagnostic
40
+ disabled-tags :
41
+ - performance
42
+ - style
43
+ - experimental
44
+ - opinionated
45
+ exclusions :
46
+ generated : lax
47
+ presets :
48
+ - comments
49
+ - common-false-positives
50
+ - legacy
51
+ - std-error-handling
52
+ rules :
53
+ - path : (.+)\.go$
54
+ text : ' Added to album: '
55
+ paths :
56
+ - third_party$
57
+ - builtin$
58
+ - examples$
59
+ issues :
60
+ max-issues-per-linter : 100
61
+ max-same-issues : 100
62
+ formatters :
63
+ enable :
64
+ - gci
65
+ - gofmt
66
+ - gofumpt
67
+ - goimports
68
+ exclusions :
69
+ generated : lax
70
+ paths :
71
+ - third_party$
72
+ - builtin$
73
+ - examples$
You can’t perform that action at this time.
0 commit comments