Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Commit bce8c29

Browse files
authored
Update .golangci.yml
1 parent 0c3e43f commit bce8c29

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.golangci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ linters-settings:
2121
desc: Should be replaced by standard lib errors package.
2222
- pkg: "github.com/instana/testify"
2323
desc: It's a fork of github.com/stretchr/testify.
24-
files:
25-
# logrus is allowed to use only in logutils package.
26-
- "!**/pkg/logutils/**.go"
2724
dupl:
2825
threshold: 100
2926
funlen:
@@ -55,7 +52,7 @@ linters-settings:
5552
replacement: "any"
5653
goimports:
5754
local-prefixes: github.com/golangci/golangci-lint
58-
gomnd:
55+
mnd:
5956
# don't include the "operation" and "assign"
6057
checks:
6158
- argument
@@ -146,7 +143,7 @@ issues:
146143
- path: (.+)_test\.go
147144
linters:
148145
- dupl
149-
- gomnd
146+
- mnd
150147
- lll
151148

152149
- path: pkg/golinters

0 commit comments

Comments
 (0)