This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
Add ability to customize behavior of or respect multi-line function arguments for Rome Formatter #4192
kee-oth
started this conversation in
Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I often write functional-style JS and I'd like to request for the ability to write this and have the formatter either respect my function argument line-breaks or give us the ability to customize to a multi-line format when passing in multiple arguments.
Right now, I want this:
But Rome Formatter gives me this:
For myself, this is much less readable. It'd be great is Rome broke away from Prettier on this regard as this is actually a big reason I don't use Prettier in any of my projects. And more generally I think Prettier is too restrictive and would love a more flexible alternative which I hope Rome Formatter can be 🙌
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions