Skip to content

Disable outdated rules from eslint-plugin-react - #382

Open
xty wants to merge 1 commit into
Shopify:mainfrom
xty:main
Open

Disable outdated rules from eslint-plugin-react#382
xty wants to merge 1 commit into
Shopify:mainfrom
xty:main

Conversation

@xty

@xty xty commented Apr 24, 2023

Copy link
Copy Markdown
Contributor

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