Skip to content

Commit

Permalink
update golangci-lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
xrstf committed Aug 18, 2023
1 parent 3697b38 commit 1ab5fbe
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ linters:

linters-settings:
depguard:
include-go-root: true
packages:
- io/ioutil # https://go.dev/doc/go1.16#ioutil
- github.com/ghodss/yaml # use sigs.k8s.io/yaml instead
rules:
main:
deny:
- { pkg: io/ioutil, desc: https://go.dev/doc/go1.16#ioutil }
- { pkg: github.com/ghodss/yaml, desc: use sigs.k8s.io/yaml instead }

0 comments on commit 1ab5fbe

Please sign in to comment.