We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 969c2ff commit c9cde2cCopy full SHA for c9cde2c
.golangci.yml
@@ -1,12 +1,11 @@
1
linters-settings:
2
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"
+ # new configuration
+ rules:
+ logger:
+ deny:
+ - pkg: "github.com/sirupsen/logrus"
+ desc: logging is allowed only by github.com/obalunenko/logger
10
dupl:
11
threshold: 100
12
funlen:
0 commit comments