mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-10 20:05:55 +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:
|
maintidx:
|
||||||
# raise this after refactoring
|
# raise this after refactoring
|
||||||
under: 15
|
under: 18
|
||||||
|
|
||||||
misspell:
|
misspell:
|
||||||
locale: US
|
locale: US
|
||||||
|
@ -210,7 +210,7 @@ linters:
|
||||||
- name: cognitive-complexity
|
- name: cognitive-complexity
|
||||||
arguments:
|
arguments:
|
||||||
# lower this after refactoring
|
# lower this after refactoring
|
||||||
- 119
|
- 113
|
||||||
- name: comment-spacings
|
- name: comment-spacings
|
||||||
disabled: true
|
disabled: true
|
||||||
- name: confusing-results
|
- name: confusing-results
|
||||||
|
@ -235,8 +235,8 @@ linters:
|
||||||
- name: function-length
|
- name: function-length
|
||||||
arguments:
|
arguments:
|
||||||
# lower this after refactoring
|
# lower this after refactoring
|
||||||
- 111
|
- 87
|
||||||
- 238
|
- 198
|
||||||
- name: get-return
|
- name: get-return
|
||||||
disabled: true
|
disabled: true
|
||||||
- name: increment-decrement
|
- name: increment-decrement
|
||||||
|
@ -294,9 +294,7 @@ linters:
|
||||||
- -ST1003
|
- -ST1003
|
||||||
- -ST1005
|
- -ST1005
|
||||||
- -ST1012
|
- -ST1012
|
||||||
- -ST1022
|
|
||||||
- -QF1003
|
- -QF1003
|
||||||
- -QF1008
|
|
||||||
- -QF1012
|
- -QF1012
|
||||||
|
|
||||||
wsl:
|
wsl:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue