Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

📎 Add arrowParentheses formatter option #4666

@SuperchupuDev

Description

@SuperchupuDev

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 have arrowParens set to avoid (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 Rome

image
image

Metadata

Metadata

Labels

A-FormatterArea: formatterL-JavaScriptLangauge: JavaScripttaskA task, an action that needs to be performed

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions