diff --git a/.golangci.yml b/.golangci.yml index b59ae9635b3..721dfbf15c0 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -150,6 +150,9 @@ issues: - text: "Expect WriteFile permissions to be 0600 or less" linters: - gosec + - text: 'shadow: declaration of "(err|ctx)" shadows declaration at' + linters: [ govet ] + exclude-dirs: - vendor