Files
detekt/detekt-rules-complexity
marschwar 9494780455 Use annotations to configure rules in rules-complexity (#3768)
* Change definition order in ComplexMethod

* Use annotation in ComplexCondition

* Use annotation in ComplexInterface

* Use annotation in LabeledExpression

* Use annotation in LargeClass

* Use annotation in LongMethod

* Use annotation in LongParameterList

* Use annotation in MethodOverloading

* Use annotation in NamedArguments

The issue message had to be changed as the issue is used to
extract the rule id which is used to lookup the threshold from
the config.

* Use annotation in NestedBlockDepth

* Use annotation in TooManyFunctions

* Use annotation in StringLiteralDuplication

* replace removeSurrounding with removePrefix.removeSuffix

* inline default thresholds to improve readability

Co-authored-by: Markus Schwarz <post@markus-schwarz.net>
2021-05-22 14:47:05 +02:00
..