Deprecate TrailingComma as it's now split in two rules#5423
Conversation
|
I think I run into the same problem when adding the rule to It fails the check because these are not deprecated, but rather removed. |
Yup you're right. Still it should be possible to give the user an informative message, no? |
I would hardcode this inside the generator code. This way it will be added automatically. @VitalyVPinchuk did this already here: So it should be as easy as add a new line there. |
When we bumped KtLint we effectively deprecated a rule
TrailingComma, but we never updated thedeprecation.propertiesfile for it. Here I'm doing it.