Closed rorticus closed 7 years ago
Type: feature
Description:
After a recent comment on not having parenthesis around my single parameter arrow function, I thought maybe we could add this rule.
So instead of someArray.map(a => a * 2) you will need to use someArray.map((a) => a * 2)
someArray.map(a => a * 2)
someArray.map((a) => a * 2)
Type: feature
Description:
After a recent comment on not having parenthesis around my single parameter arrow function, I thought maybe we could add this rule.
So instead of
someArray.map(a => a * 2)
you will need to usesomeArray.map((a) => a * 2)