Skip to content

Commit

Permalink
Add depguard deny rule for go-version
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias committed Feb 12, 2025
1 parent de9c65c commit 1b82c5f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ issues:
linters-settings:
depguard:
rules:
go-version:
deny:
# Use "github.com/Masterminds/semver/v3" instead.
- pkg: github.com/hashicorp/go-version
ioutil:
deny:
- pkg: "io/ioutil"
Expand Down

0 comments on commit 1b82c5f

Please sign in to comment.