-
Notifications
You must be signed in to change notification settings - Fork 509
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
Rule: equals sign should be on same line #105
Comments
Hi @MyDogTom. Absolutely. I'm kinda surprised it's not enforced yet so PR is definitely more than welcome. |
MyDogTom
added a commit
to MyDogTom/ktlint
that referenced
this issue
Nov 22, 2017
Line break is allowed only after assignment (eg. equals sign) Auto formatting is supported via simplistic approach by putting same line break with same indent from left side to right side of assignment Closes pinterest#105
orchestr7
pushed a commit
to saveourtool/diktat
that referenced
this issue
Jun 29, 2020
Line break is allowed only after assignment (eg. equals sign) Auto formatting is supported via simplistic approach by putting same line break with same indent from left side to right side of assignment Closes pinterest/ktlint#105
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would like to enforce this rule
Source
Valid example
Violation example
I also would like to use same rule with functions.
Valid example
Violation example
PS. I'm happy to try implement it, if such PR is welcome.
The text was updated successfully, but these errors were encountered: