Skip to content

Commit

Permalink
test: fix depguard config
Browse files Browse the repository at this point in the history
Allow all packages, just have a deny list

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
  • Loading branch information
flavio committed Sep 13, 2023
1 parent 5c1b038 commit 451fffb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,8 @@ linters-settings:
# List of file globs that will match this list of settings to compare against.
# Default: $all
files:
- "$all"
# List of allowed packages.
allow:
- $gostd
# Packages that are not allowed where the value is a suggestion.
- $all
- "!$test"
deny:
- pkg: "github.com/sirupsen/logrus"
desc: not allowed
Expand Down

0 comments on commit 451fffb

Please sign in to comment.