-
Notifications
You must be signed in to change notification settings - Fork 503
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
'Missing newline before ")"' in long function names #327
Closed
jlmd opened this issue
Jan 10, 2019
· 1 comment
· May be fixed by mitutitu16/ktlint#1, mitutitu16/ktlint#2, mitutitu16/ktlint#3, mitutitu16/ktlint#4 or mitutitu16/ktlint#6
Closed
'Missing newline before ")"' in long function names #327
jlmd opened this issue
Jan 10, 2019
· 1 comment
· May be fixed by mitutitu16/ktlint#1, mitutitu16/ktlint#2, mitutitu16/ktlint#3, mitutitu16/ktlint#4 or mitutitu16/ktlint#6
Comments
Fixed in 0.30.0. |
jlmd
added a commit
to jlmd/ktlint
that referenced
this issue
Mar 31, 2019
Avoid checking "parameter-list-wrapping" rule when the element doesn't have parameters. Fixes pinterest#327
jlmd
added a commit
to jlmd/ktlint
that referenced
this issue
Mar 31, 2019
Avoid checking "parameter-list-wrapping" rule when the element doesn't have parameters. Fixes pinterest#327
jlmd
added a commit
to jlmd/ktlint
that referenced
this issue
Mar 31, 2019
Avoid checking "parameter-list-wrapping" rule when the element doesn't have parameters. Fixes pinterest#327
This was referenced Mar 16, 2021
Open
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In ktlint version 0.29.0, there is an issue when a function name is too long. It's not common in normal functions, but it's when writing test functions using spaces. Example:
When analyzing the code with ktlint, it says there are two broken rules:
Unexpected spacing after "("
Exceeded max line length (120)
In this case, the only broken rule should be
Exceeded max line length (120)
, since adding a line break after the parenthesis when there are no parameters I think it does not make sense.It was not happening in previous versions.
The text was updated successfully, but these errors were encountered: