Skip to content

Commit

Permalink
chore(.golangci.yml): declare allowed packages
Browse files Browse the repository at this point in the history
Signed-off-by: Massimiliano Giovagnoli <[email protected]>
  • Loading branch information
maxgio92 committed Jan 29, 2024
1 parent 971d1b7 commit 7e4f376
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
linters-settings:
cyclop:
max-complexity: 27
depguard:
rules:
main:
list-mode: lax
allow:
- $gostd
- github.com/projectcapsule
- github.com/go-logr/logr
- sigs.k8s.io/controller-runtime
gci:
sections:
- standard # Captures all standard packages if they do not match another section.
Expand Down

0 comments on commit 7e4f376

Please sign in to comment.