Skip to content

Commit 7e4f376

Browse files
committed
chore(.golangci.yml): declare allowed packages
Signed-off-by: Massimiliano Giovagnoli <[email protected]>
1 parent 971d1b7 commit 7e4f376

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.golangci.yml

+9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
linters-settings:
22
cyclop:
33
max-complexity: 27
4+
depguard:
5+
rules:
6+
main:
7+
list-mode: lax
8+
allow:
9+
- $gostd
10+
- github.com/projectcapsule
11+
- github.com/go-logr/logr
12+
- sigs.k8s.io/controller-runtime
413
gci:
514
sections:
615
- standard # Captures all standard packages if they do not match another section.

0 commit comments

Comments
 (0)