Skip to content

Commit

Permalink
chore(ci): add depguard config
Browse files Browse the repository at this point in the history
Signed-off-by: Elad Leev <eladleev@gmail.com>
  • Loading branch information
EladLeev committed Jul 17, 2023
1 parent 0863085 commit da48ff2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ linters-settings:
lines: 300
statements: 300

depguard:
rules:
main:
deny:
- pkg: "io/ioutil"
desc: Use the "io" and "os" packages instead.

linters:
disable-all: true
enable:
Expand Down

0 comments on commit da48ff2

Please sign in to comment.