-
Notifications
You must be signed in to change notification settings - Fork 507
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
Variable declaration is breaking #2475
Comments
This is intended behavior of https://pinterest.github.io/ktlint/latest/rules/standard/#multiline-expression-wrapping. In case you have upgraded from ktlint |
Ok, how i can disable it? I tried:
But it generate an error:
|
You're almost there. As indicated in the stacktrace there is another rule that needs to be disabled |
Thanks @paul-dingemans. |
Expected Behavior
Before upgrade ktlint, it is equal red part, now it break after variable declaration.
Observed Behavior
Before upgrade ktlint, it is equal red part, now it break after variable declaration.
Your Environment
.editorconfig
settings: https://github.com/xplpc/xplpc/blob/main/.editorconfigThe text was updated successfully, but these errors were encountered: