Skip to content
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

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

Open
paul-dingemans opened this issue May 8, 2024 · 0 comments

Comments

@paul-dingemans
Copy link
Collaborator

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:

  • Document that those rules affect each other and give recommendation
  • Automatically disable the multiline-expression-wrapping in case function-signature rule is enabled, and setting function_signature_body_expression_wrapping is set to default
  • Extract function body expression wrapping from function-signature rule and let this be handled by multiline-expression-wrapping only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant