8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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