File tree Expand file tree Collapse file tree 1 file changed +38
-22
lines changed Expand file tree Collapse file tree 1 file changed +38
-22
lines changed Original file line number Diff line number Diff line change
1
+ version : " 2"
1
2
run :
2
- # Include test files or not.
3
- # Default: true
4
3
tests : false
5
-
6
4
linters :
7
- disable-all : true
5
+ default : none
8
6
enable :
9
- - misspell
10
- - govet
11
- - staticcheck
7
+ - dupl
12
8
- errcheck
13
- - unparam
9
+ - gocyclo
10
+ - gosec
11
+ - govet
14
12
- ineffassign
13
+ - misspell
15
14
- nakedret
16
- - gocyclo
17
- - dupl
18
- - goimports
19
15
- revive
20
- - gosec
21
- - gosimple
22
- - typecheck
16
+ - staticcheck
17
+ - unparam
23
18
- unused
24
-
25
- linters-settings :
26
- gofmt :
27
- simplify : true
28
- goimports :
29
- local-prefixes : github.com/shipengqi/commitizen
30
- dupl :
31
- threshold : 600
19
+ settings :
20
+ dupl :
21
+ threshold : 600
22
+ exclusions :
23
+ generated : lax
24
+ presets :
25
+ - comments
26
+ - common-false-positives
27
+ - legacy
28
+ - std-error-handling
29
+ paths :
30
+ - third_party$
31
+ - builtin$
32
+ - examples$
33
+ formatters :
34
+ enable :
35
+ - goimports
36
+ settings :
37
+ gofmt :
38
+ simplify : true
39
+ goimports :
40
+ local-prefixes :
41
+ - github.com/shipengqi/commitizen
42
+ exclusions :
43
+ generated : lax
44
+ paths :
45
+ - third_party$
46
+ - builtin$
47
+ - examples$
You can’t perform that action at this time.
0 commit comments