-
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
function-signature does not respect max_line_length #2296
Comments
See rule documentation and configuration properties for more information. |
@paul-dingemans It is literally there, just in the link to rule documentation you posted: Setting |
Ow, that is pretty embarassing. Let me reopen this issue until docs are fixed. |
…d function signatures Closes #2296
Expected Behavior
My max_line_length is
180
, i tried to turn offktlint_function_signature_wrapping_rule_always_with_minimum_parameters
. As far as i understand this should leave my line intact, but ktlint seems to always force multiline parameters when i have more than 1 parameter. It works correctly for a single parameter.. My.editorconfig
is further down.Observed Behavior
Steps to Reproduce
Running the ktlint 1.0.0 from CLI on given code should give the observed behavior.
Your Environment
.editorconfig
settingsMy .editorconfig properties related to ktlint:
Log from ktlint CLI:
The text was updated successfully, but these errors were encountered: