Skip to content

Commit

Permalink
Add rule to semgrep
Browse files Browse the repository at this point in the history
  • Loading branch information
angrycub committed Dec 6, 2023
1 parent f017223 commit beeb51a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .semgrep/imports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ rules:
- pattern: '"github.com/hashicorp/consul/command/flags"'
- pattern: '"github.com/hashicorp/consul/sdk"'
- pattern: '"github.com/hashicorp/go-set"'
- pattern: '"github.com/mitchellh/cli"'
- pattern: '"golang.org/x/exp/slices"'
- pattern: '"golang.org/x/exp/maps"'
message: "Import of this package has been disallowed"
Expand Down

0 comments on commit beeb51a

Please sign in to comment.