This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
Call expression arguments formatting #2421
Labels
A-Formatter
Area: formatter
I-Difficult
Implementation: requires deep knowledge of the tools and the problem.
Prettier has sophisticated formatting for call arguments that prevents unnecessary line breaks. For example, it formats the following snipped without breaking the passed arrow function over multiple lines (except the body).
Relevant test cases:
arrow/call.js
break-call/react.js
last-argument/expensions/empty-lines.js
preserve-line/argument-list.js
js/functional-composition/functional_compose.js
Expected
Output matches Prettier's output (or closely)
The text was updated successfully, but these errors were encountered: