Skip to content
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

Merged
merged 6 commits into from
Jun 5, 2020
Merged

feat(eslint): spaced comment warn instead of error #37

merged 6 commits into from
Jun 5, 2020

Conversation

stevensacks
Copy link
Contributor

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.

@stevensacks stevensacks requested a review from a team as a code owner May 11, 2020 21:51
JamesSingleton
JamesSingleton previously approved these changes May 12, 2020
JAdshead
JAdshead previously approved these changes May 12, 2020
Copy link
Contributor

@PixnBits PixnBits left a 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

@stevensacks
Copy link
Contributor Author

Done

@JamesSingleton JamesSingleton merged commit 51c539d into americanexpress:master Jun 5, 2020
oneamexbot added a commit that referenced this pull request Jun 5, 2020
# [12.1.0](v12.0.3...v12.1.0) (2020-06-05)

### Features

* **eslint:** spaced comment warn instead of error ([#37](#37)) ([51c539d](51c539d))
@oneamexbot
Copy link
Contributor

🎉 This PR is included in version 12.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants