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 6, 2023
1 parent c5b1fee commit 79eb5cd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ 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"
- golang.org/x/net/context:
recommendations:
- context
- k8s.io/utils/pointer:
recommendations:
- github.com/samber/lo
tenv:
all: true
loggercheck:
Expand Down

0 comments on commit 79eb5cd

Please sign in to comment.