Skip to content

Commit 643f4c8

Browse files
authored
Merge pull request #1058 from crazy-max/fix-golangci-lint-cfg
chore: fix golangci-lint config
2 parents 402e0bf + b73efda commit 643f4c8

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.golangci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ linters-settings:
2727
depguard:
2828
rules:
2929
main:
30-
list-mode: lax
3130
deny:
32-
- pkg: io/ioutil
33-
desc: The io/ioutil package has been deprecated. https://go.dev/doc/go1.16#ioutil
31+
# The io/ioutil package has been deprecated.
32+
# https://go.dev/doc/go1.16#ioutil
33+
- pkg: "io/ioutil"
34+
desc: The io/ioutil package has been deprecated.
3435
forbidigo:
3536
forbid:
3637
- '^fmt\.Errorf(# use errors\.Errorf instead)?$'
@@ -42,3 +43,7 @@ issues:
4243
- linters:
4344
- revive
4445
text: "stutters"
46+
47+
# show all
48+
max-issues-per-linter: 0
49+
max-same-issues: 0

0 commit comments

Comments
 (0)