JavaScript
Arrow Function Parentheses

by Lipis

x => x

(x) => x

https://prettier.io/docs/en/options.html#arrow-function-parentheses

Lipis

Only use a set of parentheses if you want to specify multiple/no arguments.

Foxatron

Sign in to comment!