We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The autofix probably shouldn't delete comments just because the curly braces wouldn't be necessary if the comment wasn't there.
{ /* This is a very important note on the use of the below component. */ <Component /> }
becomes
<Component />
The text was updated successfully, but these errors were encountered:
I agree; I’d say that in this case, the comment makes the curly braces necessary.
Sorry, something went wrong.
[Fix] jsx-curly-brace-presence: ignore containers with comments
jsx-curly-brace-presence
f0e29f9
Fixes jsx-eslint#2885
0e9a193
Successfully merging a pull request may close this issue.
The autofix probably shouldn't delete comments just because the curly braces wouldn't be necessary if the comment wasn't there.
becomes
The text was updated successfully, but these errors were encountered: