Skip to content

Commit

Permalink
Update linter config to new schema (#14847)
Browse files Browse the repository at this point in the history
Co-authored-by: Reto Lehmann <[email protected]>
  • Loading branch information
knative-prow-robot and ReToCode committed Jan 30, 2024
1 parent f1bd929 commit 0d199d9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ linters:

linters-settings:
depguard:
include-go-root: true
packages:
- sync/atomic
packages-with-error-message:
- sync/atomic: "please use type-safe atomics from go.uber.org/atomic"
rules:
main:
deny:
- pkg: sync/atomic
desc: "please use type-safe atomics from go.uber.org/atomic"
importas:
no-unaliased: true
alias:
Expand Down

0 comments on commit 0d199d9

Please sign in to comment.