Skip to content

Commit

Permalink
adjust depguard linter rule
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaokangwang committed Sep 24, 2023
1 parent 8de2f27 commit dec83fb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/linters/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,9 @@ linters-settings:
- name: blank-imports
severity: warning
disabled: true
depguard:
rules:
Main:
deny:
- pkg: "github.com/pkg/errors"
desc: Should be replaced by standard lib errors package

0 comments on commit dec83fb

Please sign in to comment.