This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
Put closing curly on new line for empty blocks. #2406
Labels
A-Formatter
Area: formatter
good first issue
Good for newcomers
I-Easy
Implementation: easy task, usually a good fit for new contributors
Rome's formatter collapses empty block statements on a single line whereas Prettier enforces a line break before the closing
}
for the following statements.for..in
for..of
with
switch
switch case
Playground
Input
Prettier
Rome
The text was updated successfully, but these errors were encountered: