lint: update complexity limits
This commit is contained in:
parent
6ed4f969be
commit
715fbb018e
1 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ run:
|
|||
linters-settings:
|
||||
cyclop:
|
||||
# lower this after refactoring
|
||||
max-complexity: 70
|
||||
max-complexity: 53
|
||||
|
||||
gci:
|
||||
sections:
|
||||
|
@ -26,7 +26,7 @@ linters-settings:
|
|||
|
||||
gocyclo:
|
||||
# lower this after refactoring
|
||||
min-complexity: 70
|
||||
min-complexity: 49
|
||||
|
||||
funlen:
|
||||
# Checks the number of lines in a function.
|
||||
|
@ -46,7 +46,7 @@ linters-settings:
|
|||
|
||||
maintidx:
|
||||
# raise this after refactoring
|
||||
under: 9
|
||||
under: 11
|
||||
|
||||
misspell:
|
||||
locale: US
|
||||
|
|
Loading…
Add table
Reference in a new issue