Skip to content

Commit

Permalink
disable magic number detection and higher limit for gocyclo
Browse files Browse the repository at this point in the history
  • Loading branch information
Hermsi1337 committed Oct 12, 2020
1 parent 93095cc commit ba09147
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/ci/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ linters-settings:
- whyNoLint
- wrapperFunc
gocyclo:
min-complexity: 15
min-complexity: 20
goimports:
local-prefixes: github.com/mittwald/brudi
golint:
Expand All @@ -30,7 +30,7 @@ linters-settings:
settings:
mnd:
# don't include the "operation" and "assign"
checks: argument,case,condition,return
checks: argument,case,return
lll:
line-length: 140
maligned:
Expand Down Expand Up @@ -79,4 +79,4 @@ run:
skip-dirs:
- example/
- .github/
- dist/
- dist/

0 comments on commit ba09147

Please sign in to comment.