If I write something like this:
{
factors.map((factor) => (
<li>{factor}</li>
))
}
I've got something like this by prettier:
{factors.map((factor) => (
<li>{factor}</li>
))}
Someone knows what rule I must add to avoid this behavior? I'm searching but I can't find nothing useful =(
That's my current prettier config:
{
"tabWidth": 4,
"useTabs": false,
"singleQuote": true,
"semi": false,
"printWidth": 120,
"arrowParens": "avoid"
}