chore: Allow all library in depguard linter settings

- Add depguard linter settings to deny pkg github.com/pkg/errors in .golangci.yml file.
This commit is contained in:
moonD4rk
2023-06-06 19:45:53 +08:00
parent 5406ee768e
commit 3316067af9
+11 -1
View File
@@ -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