pinterest / ktlint

An anti-bikeshedding Kotlin linter with built-in formatter
https://pinterest.github.io/ktlint/
MIT License
6.06k stars 504 forks source link

Prevent possible conflict between `multiline-expression-wrapping` and `function-signature` body wrapping #2650

Open paul-dingemans opened 1 month ago

paul-dingemans commented 1 month ago

In case the multiline-expression-wrapping and function-signature rules are enabled, and setting function_signature_body_expression_wrapping is set to default, it may result in conflicts between the rule regarding whether a multiline body expression is to be wrapped or not.

Options: