File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 1
1
# golangci.com configuration
2
2
# https://github.com/golangci/golangci/wiki/Configuration
3
- service :
4
- golangci-lint-version : v1.56.2 # use the fixed version to not introduce new linters unexpectedly
5
3
6
4
linters-settings :
7
5
govet :
8
- auto-fix : true
9
- shadow : true
10
6
settings :
11
7
printf :
12
8
funcs :
13
9
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Infof
14
10
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
15
11
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
16
12
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
17
- revive :
18
- min-confidence : 0
19
13
gocyclo :
20
14
min-complexity : 12
21
15
dupl :
22
16
threshold : 100
23
17
goconst :
24
18
min-len : 2
25
19
min-occurrences : 2
26
- depguard :
27
- list-type : blacklist
28
- packages :
29
- # logging is allowed only by logutils.Log, logrus
30
- # is allowed to use only in logutils package
31
- - github.com/sirupsen/logrus
32
20
misspell :
33
21
locale : US
34
- auto-fix : true
35
22
lll :
36
23
line-length : 140
37
24
goimports :
@@ -108,6 +95,4 @@ issues:
108
95
- (Expect directory permissions to be 0750 or less|Expect file permissions to be 0600 or less)
109
96
# EXC0010 gosec: False positive is triggered by 'src, err := ioutil.ReadFile(filename)'
110
97
- Potential file inclusion via variable
111
- exclude-use-default : false
112
-
113
98
You can’t perform that action at this time.
0 commit comments