-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat(eslint): spaced comment warn instead of error #37
feat(eslint): spaced comment warn instead of error #37
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could we scope this to just JSX syntax to avoid affecting ECMA Javascript code/projects?
if not the JSX syntax maybe just .jsx files would work, but we'd want to include a note about the intended scope being part of the JSX syntax and that the relaxing in the JS syntax is an undesired tradeoff for the JSX ergonomics
d84d33a
Done |
# [12.1.0](v12.0.3...v12.1.0) (2020-06-05) ### Features * **eslint:** spaced comment warn instead of error ([#37](#37)) ([51c539d](51c539d))
🎉 This PR is included in version 12.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Because spaced-comment has value outside of JSX and it seems to be mainly an issue with commenting out components in JSX, which is usually a temporary state while developing, I suggest making this a warn instead of an error? Better than 'off', solves both problems, also won't block builders.