Skip to content

Commit

Permalink
chore: add gocyclo rules and config (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
thevilledev authored Oct 29, 2024
1 parent ef79e10 commit cc110da
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
issues:
exclude-files:
- example_test.go
exclude-rules:
- path: _test\.go
linters:
- gocyclo

linters:
tests-disable-all: true
Expand Down Expand Up @@ -132,6 +136,8 @@ linters:
fast: true

linters-settings:
gocyclo:
min-complexity: 10
depguard:
rules:
main:
Expand Down

0 comments on commit cc110da

Please sign in to comment.