-
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
Disable wrapping of parameters (ktlint_official) #1977
Milestone
Comments
The configuration parameter which ought to do this is broken unfortunately. According to docs, the following setting should do the trick
but value -1 is not accepted. It defaults value |
paul-dingemans
added a commit
that referenced
this issue
May 5, 2023
…ure_rule_force_multiline_when_parameter_count_greater_or_equal_than` when using `ktlint_official` code style `function-signature` Closes #1977
6 tasks
Please note that in the next release (or in the latest snapshot), this property needs to be set as follow to disable wrapping:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to have these rules apply only when the line exceeds max_line_length? It does not seem to currently.
Originally posted by @cdavie-artium in #1908 (comment)
The text was updated successfully, but these errors were encountered: