-
Notifications
You must be signed in to change notification settings - Fork 45.6k
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
Lint tests #3971
Comments
A similar PR is being done in react-native too facebook/react-native#259 (adds babel-eslint, but also |
Indeed. We have the benefit that we don't have to worry about anything internal yet so we can be more flexible :) |
bgw
added a commit
to bgw/react
that referenced
this issue
May 29, 2015
Closes facebook#3971. > After facebook#3968, the next thing we should do is start linting our tests. > Historically we've ignored them due to lack of parser compatibility. > But that shouldn't be a problem anymore. We may want to integrate > https://www.npmjs.com/package/eslint-plugin-react to more aggressively > lint our JSX in tests. I understand this diff touches a lot of stuff, so I tried to keep it to a near-minimal set of changes to make eslint happy. If you're wondering why I changed something, let me know and I'll try to map it up to the rule that I was fixing it for.
bgw
added a commit
to bgw/react
that referenced
this issue
Jun 1, 2015
Closes facebook#3971. > After facebook#3968, the next thing we should do is start linting our tests. > Historically we've ignored them due to lack of parser compatibility. > But that shouldn't be a problem anymore. We may want to integrate > https://www.npmjs.com/package/eslint-plugin-react to more aggressively > lint our JSX in tests. I understand this diff touches a lot of stuff, so I tried to keep it to a near-minimal set of changes to make eslint happy.
This was referenced Mar 7, 2021
This was referenced Nov 27, 2023
This was referenced May 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After #3968, the next thing we should do is start linting our tests. Historically we've ignored them due to lack of parser compatibility. But that shouldn't be a problem anymore. We may want to integrate https://www.npmjs.com/package/eslint-plugin-react to more aggressively lint our JSX in tests.
cc @PiPeep
The text was updated successfully, but these errors were encountered: