-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
jsx-curly-brace-presence
conflicts with no-unescaped-entities
#3214
Labels
Comments
@aprilmintacpineda can you be sure you’re on the latest version, and file a new issue if it’s still a problem? |
It looks like that the special casing only considers backticks but not normal quotes. This triggers a lint error: <p>{"'"}</p> But this doesn't: <p>{`'`}</p> |
@musjj thanks, can you file a new issue for that one? |
2 tasks
Made a new issue: #3801 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With both
jsx-curly-brace-presence
andno-unescaped-entities
turned onis fixed into
which works fine, but will give a warning/error on
no-unescaped-entities
.It is my understanding that
jsx-curly-brace-presence
should not be triggering on this code, since the documentation says:https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-curly-brace-presence.md
The text was updated successfully, but these errors were encountered: