This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
📎 Add arrowParentheses
formatter option
#4666
Labels
A-Formatter
Area: formatter
L-JavaScript
Langauge: JavaScript
task
A task, an action that needs to be performed
Milestone
Description
Relevant: #3910
Prettier has the option to remove unnecesary parentheses from arrow functions, and it's a widely used option, in fact the linked gh discussion for this repo is currently the third most upvoted discussion in here.
Github Search shows that out of 46k
.prettierrc
files, 10.6k of them havearrowParens
set toavoid
(last time I checked at least), which is 23% of them using this option. It's used a lot and that's why it's important to have it in RomeThe text was updated successfully, but these errors were encountered: