Skip to content

Commit 2c8094e

Browse files
committed
Fix .golangci.yml
1 parent e7a143e commit 2c8094e

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

.golangci.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
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
96
shadow: true
107
settings:
118
printf:
@@ -14,24 +11,15 @@ linters-settings:
1411
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
1512
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
1613
- (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
17-
revive:
18-
min-confidence: 0
1914
gocyclo:
2015
min-complexity: 12
2116
dupl:
2217
threshold: 100
2318
goconst:
2419
min-len: 2
2520
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
3221
misspell:
3322
locale: US
34-
auto-fix: true
3523
lll:
3624
line-length: 140
3725
goimports:
@@ -108,6 +96,4 @@ issues:
10896
- (Expect directory permissions to be 0750 or less|Expect file permissions to be 0600 or less)
10997
# EXC0010 gosec: False positive is triggered by 'src, err := ioutil.ReadFile(filename)'
11098
- Potential file inclusion via variable
111-
exclude-use-default: false
112-
11399

0 commit comments

Comments
 (0)