Skip to content

Commit 54fe60e

Browse files
authored
Merge pull request #7848 from adrianmoisey/add_errors_to_forbidigo
Enable forbidigo for VPA
2 parents b3e4e51 + d37a07b commit 54fe60e

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)