Skip to content

Add parens in JSX spread element with expressions#6130

Merged
duailibe merged 2 commits intoprettier:masterfrom
duailibe:jsx-spread
May 16, 2019
Merged

Add parens in JSX spread element with expressions#6130
duailibe merged 2 commits intoprettier:masterfrom
duailibe:jsx-spread

Conversation

@duailibe
Copy link
Copy Markdown
Collaborator

The parenthesis is unnecessary in this case but we should do for consistency

Closes #5856

@duailibe duailibe merged commit df258d6 into prettier:master May 16, 2019
@duailibe duailibe deleted the jsx-spread branch May 16, 2019 18:06
@lock lock bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Aug 14, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Aug 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spread operator's expression not wrapped in parentheses in JSXAttribute

3 participants