This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
Object literal & type line break after {
#2408
Labels
A-Formatter
Area: formatter
good first issue
Good for newcomers
I-Normal
Implementation: normal understanding of the tool and awareness
Rome formatter tries to fit all object or object literal type members on a single line. Prettier does the same, but formats each member on a single line if the object literal or object literal type has a line break between the opening
{
and the first member.Input
Prettier
Rome
Expected
Rome to match Prettiers formatting. Format object literal and object-literal type members each on their own line if the first member has a leading line break.
The text was updated successfully, but these errors were encountered: