Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ linters-settings:
depguard:
rules:
main:
list-mode: lax
deny:
- pkg: io/ioutil
desc: The io/ioutil package has been deprecated. https://go.dev/doc/go1.16#ioutil
# The io/ioutil package has been deprecated.
# https://go.dev/doc/go1.16#ioutil
- pkg: "io/ioutil"
desc: The io/ioutil package has been deprecated.
forbidigo:
forbid:
- '^fmt\.Errorf(# use errors\.Errorf instead)?$'
Expand All @@ -42,3 +43,7 @@ issues:
- linters:
- revive
text: "stutters"

# show all
max-issues-per-linter: 0
max-same-issues: 0