mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-10 11:55:53 +02:00
CI: update lint complexity thresholds (#3608)
This commit is contained in:
parent
959b872118
commit
4527ad0fa8
1 changed files with 4 additions and 6 deletions
|
@ -184,7 +184,7 @@ linters:
|
|||
|
||||
maintidx:
|
||||
# raise this after refactoring
|
||||
under: 15
|
||||
under: 18
|
||||
|
||||
misspell:
|
||||
locale: US
|
||||
|
@ -210,7 +210,7 @@ linters:
|
|||
- name: cognitive-complexity
|
||||
arguments:
|
||||
# lower this after refactoring
|
||||
- 119
|
||||
- 113
|
||||
- name: comment-spacings
|
||||
disabled: true
|
||||
- name: confusing-results
|
||||
|
@ -235,8 +235,8 @@ linters:
|
|||
- name: function-length
|
||||
arguments:
|
||||
# lower this after refactoring
|
||||
- 111
|
||||
- 238
|
||||
- 87
|
||||
- 198
|
||||
- name: get-return
|
||||
disabled: true
|
||||
- name: increment-decrement
|
||||
|
@ -294,9 +294,7 @@ linters:
|
|||
- -ST1003
|
||||
- -ST1005
|
||||
- -ST1012
|
||||
- -ST1022
|
||||
- -QF1003
|
||||
- -QF1008
|
||||
- -QF1012
|
||||
|
||||
wsl:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue