Skip to content

Commit d37a07b

Browse files
committed
Enable forbidigo for VPA
And forbid the github.com/pkg/errors package
1 parent b3e4e51 commit d37a07b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
linters:
22
enable:
3+
- forbidigo
34
- goimports
45

56
linters-settings:
7+
forbidigo:
8+
forbid:
9+
# Forbid use of archived package "github.com/pkg/errors". Context: https://github.com/kubernetes/autoscaler/pull/7845
10+
- pkg: github.com/pkg/errors
11+
analyze-types: true
12+
613
goimports:
714
local-prefixes: "k8s.io/autoscaler/vertical-pod-autoscaler"

0 commit comments

Comments
 (0)