Skip to content

Conversation

@pvdlg
Copy link
Contributor

@pvdlg pvdlg commented Sep 26, 2019

This disable the rule unicorn/no-nested-ternary when Prettier formatting is enabled.

The reason is that currently Prettier doesn't allow to wrap nested ternary in parenthesis. See prettier/prettier#4157.

This rule can be re-enabled if prettier/prettier#4157 is fixed to allow those parenthesis.

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.

3 participants