Skip to content

Commit 677e8d9

Browse files
committed
ci: use new depguard config
New version of golangci-lint pulled in a new version of depguard that changed the API, see golangci/golangci-lint#3877
1 parent cf18f90 commit 677e8d9

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.golangci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@ issues:
88

99
linters-settings:
1010
depguard:
11-
list-type: blacklist
12-
packages:
13-
- k8s.io/kubernetes
14-
packages-with-error-message:
15-
- k8s.io/kubernetes: >-
16-
Avoid k8s.io/kubernetes if possible to reduce transitive dependencies
11+
rules:
12+
main:
13+
deny:
14+
- pkg: "k8s.io/kubernetes"
15+
desc: "Avoid if possible to reduce transitive dependencies"
1716
dupl:
1817
threshold: 100
1918
exhaustive:

0 commit comments

Comments
 (0)