Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prefer-ternary: Skip fix if there are comments #1763

Merged
merged 2 commits into from Mar 29, 2022

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Mar 29, 2022

Comments are hard to track how many are kept in this rule, so I just simply skip auto-fix if any comments exists.

Fixes #1757

@sindresorhus sindresorhus merged commit 3013565 into sindresorhus:main Mar 29, 2022
@fisker fisker deleted the prefer-ternary-fix branch March 29, 2022 05:03
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.

fix prefer-ternary removes comments
2 participants