Skip to content

Conversation

@fisker
Copy link
Collaborator

@fisker fisker commented May 14, 2021

Use common getParenthesizedText function to avoid confusing. Extract shouldAddParenthesesToConditionalExpressionChild.

@sindresorhus sindresorhus merged commit 69a0fd7 into sindresorhus:main May 17, 2021
@fisker fisker deleted the prefer-ternary-refactor branch May 17, 2021 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants