File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
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
6
shadow : true
10
7
settings :
11
8
printf :
@@ -14,24 +11,15 @@ linters-settings:
14
11
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
15
12
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
16
13
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
17
- revive :
18
- min-confidence : 0
19
14
gocyclo :
20
15
min-complexity : 12
21
16
dupl :
22
17
threshold : 100
23
18
goconst :
24
19
min-len : 2
25
20
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
21
misspell :
33
22
locale : US
34
- auto-fix : true
35
23
lll :
36
24
line-length : 140
37
25
goimports :
@@ -108,6 +96,4 @@ issues:
108
96
- (Expect directory permissions to be 0750 or less|Expect file permissions to be 0600 or less)
109
97
# EXC0010 gosec: False positive is triggered by 'src, err := ioutil.ReadFile(filename)'
110
98
- Potential file inclusion via variable
111
- exclude-use-default : false
112
-
113
99
You can’t perform that action at this time.
0 commit comments