This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
Function and class expression assignment #2417
Labels
A-Formatter
Area: formatter
I-Difficult
Implementation: requires deep knowledge of the tools and the problem.
Rome breaks any
function
orclass
expression assignment over at least two lines if their bodies aren't empty. Prettier formats them on a single line (as one would expect). PlaygroundInput
Prettier
Rome
Expected
Rome formats
class
andfunction
expressions on a single line if there name fits on a single line.The text was updated successfully, but these errors were encountered: