diff --git a/.golangci.yml b/.golangci.yml index fdfad277e..bedae5ae0 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -8,7 +8,6 @@ linters: - asciicheck - bodyclose - contextcheck - - depguard - dogsled - durationcheck - errcheck @@ -69,3 +68,10 @@ linters-settings: - gopkg.in/yaml.v3: recommendations: - sigs.k8s.io/yaml + - github.com/pkg/errors: + recommendations: + - fmt + - errors + - golang.org/x/net/context: + recommendations: + - context