2 ms·
Prettier lets you control object literal formatting by inserting/removing the newline after the opening brace, I'm not sure why they don't do that for JSX eleme
by tlrobinson 6y ago
Prettier lets you control object literal formatting by inserting/removing the newline after the opening brace, I'm not sure why they don't do that for JSX elements.
https://prettier.io/docs/en/rationale.html#multi-line-objects https://prettier.io/docs/en/rationale.html#multi-line-object...