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

Parenthesize expressions #2497

Closed
NicholasLYang opened this issue Apr 26, 2022 · 1 comment
Closed

Parenthesize expressions #2497

NicholasLYang opened this issue Apr 26, 2022 · 1 comment

Comments

@NicholasLYang
Copy link
Contributor

NicholasLYang commented Apr 26, 2022

Prettier has various heuristics for parenthesizing expressions. For instance, when formatting JSX expressions inside certain statements, prettier tends to wrap them in parentheses. We should implement this logic.

@NicholasLYang NicholasLYang changed the title Parenthesize JSX expressions Parenthesize expressions Apr 26, 2022
@ematipico
Copy link
Contributor

Closing, duplicate of #2449

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants