This repository was archived by the owner on Aug 31, 2023. It is now read-only.
Replies: 1 comment
-
Rome mimics the behavior of Prettier in this context. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Working on running
rome format
against my codebase, and I noticed that with a long line that has optional chaining in it, when rome breaks at a chained property/function call, it sometimes (always?) breaks the chain before the?
, which has the next line starting with?.
Something like this, for example:Wondering whether this is by design. Just struck me as an odd choice, but I wasn't able to find other discussion/issues mentioning it.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions