Skip to content

Commit c9cde2c

Browse files
authored
chore: Fix golangci config (#285)
1 parent 969c2ff commit c9cde2c

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.golangci.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
linters-settings:
22
depguard:
3-
list-type: blacklist
4-
packages:
5-
# logging is allowed only by logutils.Log, logrus
6-
# is allowed to use only in logutils package
7-
- github.com/sirupsen/logrus
8-
packages-with-error-message:
9-
- github.com/sirupsen/logrus: "logging is allowed only by github.com/obalunenko/logger"
3+
# new configuration
4+
rules:
5+
logger:
6+
deny:
7+
- pkg: "github.com/sirupsen/logrus"
8+
desc: logging is allowed only by github.com/obalunenko/logger
109
dupl:
1110
threshold: 100
1211
funlen:

0 commit comments

Comments
 (0)