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

Disable outdated rules from eslint-plugin-react #382

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xty
Copy link
Contributor

@xty xty commented Apr 24, 2023

Thanks to the new JSX transform introduced in React 17 (back in 2020), we don't need to manually import React from 'react' anymore. eslint-plugin-react even went so far as to provide a config that disables the outdated rules.

@xty xty force-pushed the main branch 3 times, most recently from 225e8c4 to 03c0417 Compare April 24, 2023 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant