-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Rule proposal: disallow curlies around string literals #529
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
Comments
So, the opposite of jsx-no-literals ? If yes we could make a |
Yes, I think so. For the |
I'd think this is |
Yeah, that's fair. I could see folks wanting different things in props vs outside props, so having separate rules seems like a decent way to achieve that. |
Mmm, apparently the current |
Seems closed by #1349. |
Bad:
Good:
The text was updated successfully, but these errors were encountered: