chore: Allow all library in depguard linter settings

- Add depguard linter settings to deny pkg github.com/pkg/errors in .golangci.yml file.
pull/220/head
moonD4rk 1 year ago
parent 5406ee768e
commit 3316067af9
No known key found for this signature in database
GPG Key ID: 5AB6217E08D39ABA
  1. 12
      .golangci.yml

@ -64,4 +64,14 @@ issues:
linters:
- 'unused'
max-issues-per-linter: 0
max-same-issues: 0
max-same-issues: 0
linters-settings:
depguard:
rules:
main:
files:
- $all
deny:
- pkg: "github.com/pkg/errors"
desc: Should be replaced by standard lib errors package

Loading…
Cancel
Save