-
Notifications
You must be signed in to change notification settings - Fork 506
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
Indent + parameter wrapping rules cause " Format was not able to resolve all violations" warning with long lines #2488
Comments
On second thought, I think the warning is due to the interaction between
|
Technically I could not reproduce your problem because you most likely have changed the class names to shorter names. But with decreasing the max_line_length to |
Problem is indeed caused by rules |
When the
parameter-wrapping
andindent
rules are enabled, and a function parameter exceeds the max line length,ktlint -F
shows the warningSample code
Expected Behavior
I believe the expected formatted output is
Observed Behavior
The actual formatted output is
Your Environment
.editorconfig
settingsThe text was updated successfully, but these errors were encountered: