You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ktlint 0.50.0 has introduced rule statement-wrapping. This rule is never run except in unit tests as it is not added to the StandardRulesetProvider.
The reason that this was not detected before is that the unit test that checks whether each rule is added to the StandardRuleSetProvider requires the class name of the rule to end with Rule. The class StatementWrapping was missing this suffix. Also other classes are missing this suffix but were added to the StandardRuleSetProvider.
The text was updated successfully, but these errors were encountered:
* Add rule `statement-wrapping` to the `StandardRuleSetProvider` and remove `statement-wrapping` rule from release docs (`0.50`) as the rule is not run by Ktlint CLI
Closes#2170
Align names of Rule classes, file and `RULE_ID` constants
Closes#2176
Do not wrap a single line enum class
Closes#2177
Ktlint
0.50.0
has introduced rulestatement-wrapping
. This rule is never run except in unit tests as it is not added to the StandardRulesetProvider.The reason that this was not detected before is that the unit test that checks whether each rule is added to the
StandardRuleSetProvider
requires the class name of the rule to end withRule
. The classStatementWrapping
was missing this suffix. Also other classes are missing this suffix but were added to theStandardRuleSetProvider
.The text was updated successfully, but these errors were encountered: