-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to autocorrect trailing comma #2794
Comments
The given code sample does not reproduce the problem, given
Please provide additional information to reproduce. |
Ah, this is my .editorconfig
Given the rule is disabled, #2794 is probably invalid (or perhaps the error message could be more clear) but #2795 is probably valid. |
Ok tnx. Reproducable with:
The problem is caused by the
When |
Expected Behavior
ktlint --format should be able to autocorrect violations
Observed Behavior
07:48:17.149 [pool-1-thread-7] WARN com.pinterest.ktlint.rule.engine.internal.CodeFormatter -- Format was not able to resolve all violations which (theoretically) can be autocorrected in file
Steps to Reproduce
Your Environment
.editorconfig
settingsThe text was updated successfully, but these errors were encountered: