We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Given enum below:
enum class RuleMethod { BEFORE_FIRST, BEFORE_CHILDREN, VISIT, AFTER_CHILDREN, AFTER_LAST }
This enum is formatted by the statement-wrapping rule as follows:
statement-wrapping
enum class RuleMethod { BEFORE_FIRST, BEFORE_CHILDREN, VISIT, AFTER_CHILDREN, AFTER_LAST, }
A single line enum should however not be changed by this rule.
Note: this problem can not be reproduced in ktlint CLI version 0.50 due to #2170.
0.50
The text was updated successfully, but these errors were encountered:
Add rule statement-wrapping to the StandardRuleSetProvider
StandardRuleSetProvider
ad5fa4f
Closes #2170 Align names of Rule classes, file and `RULE_ID` constants Closes #2176 Do not wrap a single line enum class Closes #2177
165facb
paul-dingemans
Successfully merging a pull request may close this issue.
Given enum below:
This enum is formatted by the
statement-wrapping
rule as follows:A single line enum should however not be changed by this rule.
Note: this problem can not be reproduced in ktlint CLI version
0.50
due to #2170.The text was updated successfully, but these errors were encountered: