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

not linting jsx files #7

Open
Zauberfisch opened this issue Oct 5, 2021 · 0 comments
Open

not linting jsx files #7

Zauberfisch opened this issue Oct 5, 2021 · 0 comments

Comments

@Zauberfisch
Copy link

I've started a new module from silverstripe-module but I renamed all files that contain jsx syntax to ___.jsx.
Now I don't get any linting on those files anymore.
For example console.log() should produce a warning Unexpected console statement from the rule no-console, but it does not.

Filing this as a bug, because I see there are rules to allow .jsx extensions in webpack. So we should also lint those files.

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

No branches or pull requests

2 participants