Use default values for LongMethod, LongParameterList, LargeClass and ComplexMethod.
The algrorithms in detekt had changed when I updated detekt to v1.16, but our values not, resulting in a very long baseline file with many non-sensical warnings. By removing our config we follow the detekt config when they modify their algorithms again.
This commit is contained in:
parent
1599c96085
commit
13b00f75f0
|
@ -36,15 +36,6 @@ empty-blocks:
|
|||
|
||||
complexity:
|
||||
active: true
|
||||
LongMethod:
|
||||
threshold: 20
|
||||
LongParameterList:
|
||||
functionThreshold: 5
|
||||
constructorThreshold: 5
|
||||
LargeClass:
|
||||
threshold: 150
|
||||
ComplexMethod:
|
||||
threshold: 10
|
||||
TooManyFunctions:
|
||||
thresholdInFiles: 20
|
||||
thresholdInClasses: 20
|
||||
|
|
Loading…
Reference in New Issue