Looking into v2 migration and wanted to share some feedback 😅
This is really useful entry (for the migration purposes)
> • Replaced "threshold" property of LongMethod rule by "allowedLines" -
#6181
Meanwhile this causes some friction as we now have to open the PR separately:
> • Replaced "functionThreshold/constructorThreshold" properties of LongParameterList rule. -
#6195
Also found some typos:
> • Replaced "threshold" property of ComplexCondition rule by "allowedComplexity" -
#6187
Should be
allowedConditions
.
> Replaced "thresholdX" properties of TooManyFunctions rule by "allowedFunctionsX". -
#6211
Should be
tresholdInX
(plural) to
allowedFunctionsPerX
(singular)
Can open PR against
https://github.com/detekt/detekt/blob/5877625170bde3018a1eb883d0895323e1d8ccf0/website/src/pages/changelog-2.0.0.md#L4 if you'd like (not sure if that file is generated) 🙂