This repository was archived by the owner on May 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +28
-30
lines changed Expand file tree Collapse file tree 1 file changed +28
-30
lines changed Original file line number Diff line number Diff line change @@ -2,42 +2,40 @@ linters-settings:
2
2
govet :
3
3
check-shadowing : true
4
4
settings :
5
- printf :
6
- funcs :
7
- - (github.com/golangci/golangci-lint/pkg/logutils.Log).Infof
8
- - (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
9
- - (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
10
- - (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
5
+ printf :
6
+ funcs :
7
+ - (github.com/golangci/golangci-lint/pkg/logutils.Log).Infof
8
+ - (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
9
+ - (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
10
+ - (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
11
11
revive :
12
12
confidence : 0
13
+ gocognit :
14
+ min-complexity : 20
13
15
14
16
linters :
15
17
disable-all : true
16
18
enable :
17
- - bodyclose
18
- - deadcode
19
- - errcheck
20
- - gocognit
21
- - gofmt
22
- - goimports
23
- - gosec
24
- - gosimple
25
- - govet
26
- - ineffassign
27
- - misspell
28
- - revive
29
- - staticcheck
30
- - structcheck
31
- - stylecheck
32
- - typecheck
33
- - unparam
34
- - unused
35
- - varcheck
36
- - whitespace
37
-
38
- linters-settings :
39
- gocognit :
40
- min-complexity : 20
19
+ - bodyclose
20
+ - deadcode
21
+ - errcheck
22
+ - gocognit
23
+ - gofmt
24
+ - goimports
25
+ - gosec
26
+ - gosimple
27
+ - govet
28
+ - ineffassign
29
+ - misspell
30
+ - revive
31
+ - staticcheck
32
+ - structcheck
33
+ - stylecheck
34
+ - typecheck
35
+ - unparam
36
+ - unused
37
+ - varcheck
38
+ - whitespace
41
39
42
40
run :
43
41
skip-dirs :
You can’t perform that action at this time.
0 commit comments