diff --git a/.golangci.yml b/.golangci.yml index 348fedd9..7598d98c 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -12,6 +12,7 @@ linters: - gofmt - govet - deadcode + - depguard - goimports - ineffassign - misspell @@ -23,6 +24,15 @@ linters: - structcheck disable-all: true +linters-settings: + depguard: + list-type: blacklist + include-go-root: true + packages: + # The io/ioutil package has been deprecated. + # https://go.dev/doc/go1.16#ioutil + - io/ioutil + issues: exclude-rules: - linters: