Skip to content

Commit

Permalink
chore(linter) update gomodguard configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
rainest committed Jun 5, 2023
1 parent c5b1fee commit cd088c9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,9 @@ linters-settings:
recommendations:
- fmt
- errors
depguard:
list-type: denylist
include-go-root: false
packages-with-error-message:
- k8s.io/utils/pointer: "Use github.com/samber/lo ToPtr instead"
- golang.org/x/net/context: "use regular context instead"
- k8s.io/utils/pointer:
recommendations:
- github.com/samber/lo
tenv:
all: true
loggercheck:
Expand Down

0 comments on commit cd088c9

Please sign in to comment.