You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am willing to implement this feature if we can get confirmation (from a maintainer) that it is desired.
This is currently one of the few formatting idiosyncrasies (compared to prettier/biomejs) that are keeping my team from switching to dprint's formatter.
If we have a code like:
We expect it to be unchanged, actually it is formatted like:
Line breaks after
{
and before}
are deleted, this cause unpaired indentation and hard-to-read)}
.Expression in jsx attribute has the same behavior:
is unexpectedly formatted to:
Meybe we can have a new option to force
{
and}
in a standalone new lineThe text was updated successfully, but these errors were encountered: