Skip to content

Commit 793b913

Browse files
committed
Fix .golangci.yml
1 parent d5c6ee0 commit 793b913

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

.golangci.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,24 @@
11
# golangci.com configuration
22
# 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
53

64
linters-settings:
75
govet:
8-
auto-fix: true
9-
shadow: true
106
settings:
117
printf:
128
funcs:
139
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Infof
1410
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
1511
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
1612
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
17-
revive:
18-
min-confidence: 0
1913
gocyclo:
2014
min-complexity: 12
2115
dupl:
2216
threshold: 100
2317
goconst:
2418
min-len: 2
2519
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
3220
misspell:
3321
locale: US
34-
auto-fix: true
3522
lll:
3623
line-length: 140
3724
goimports:
@@ -108,6 +95,4 @@ issues:
10895
- (Expect directory permissions to be 0750 or less|Expect file permissions to be 0600 or less)
10996
# EXC0010 gosec: False positive is triggered by 'src, err := ioutil.ReadFile(filename)'
11097
- Potential file inclusion via variable
111-
exclude-use-default: false
112-
11398

0 commit comments

Comments
 (0)