-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
react/jsx-no-literals rule shows warning with template strings #1511
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
Labels
Comments
In this case it should indeed warn on both. |
Just ran into this too. @ljharb why should it warn on the second case? |
nm, my situation was different. I had a stray semi-colon after a jsx tag. |
No literals includes template literals :-) |
This was referenced Jan 26, 2018
This was referenced Sep 22, 2018
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
i'm using eslint@4.10.0 and eslint-plugin-react@7.4.0. The linter shows a warning if a join a string with "template strings", but not if I join it with the + operator:
Is this a known issue?
Best regards
The text was updated successfully, but these errors were encountered: