-
-
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
Suggestion: no trailing semicolon #2527
Comments
This seems like a reallllllly niche rule for something that almost never happens :-/ |
Happened to me loads of times. The linked issue also has some interest suggesting it's not just me. |
This seems like it would be handled by the jsx-no-literals rule in a much more generic way. |
That seems quite extreme for what we're trying to achieve here. I'm fine with literals, just not trailing semicolons, which usually get left behind during refactors |
+1 for this being useful |
👍 I've fixed instances of this bug four or five times in production. I'd love a linter too! |
Not the best solution, but it works for me.
It works for a semicolon at the end of the line after a jsx tag. |
Copying suggestion from palantir/tslint-react#116:
/cc @jkillian
The text was updated successfully, but these errors were encountered: