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

eslint config should enable "react/jsx-key" #13660

Open
mdj-uk opened this issue Aug 31, 2024 · 0 comments
Open

eslint config should enable "react/jsx-key" #13660

mdj-uk opened this issue Aug 31, 2024 · 0 comments

Comments

@mdj-uk
Copy link

mdj-uk commented Aug 31, 2024

The eslint config from this repo is officially recommended in the react docs.

I'm surprised that various rules from eslint-plugin-react recommended config are not enabled here.

For example, react/jsx-key is important for a) decreasing the risk of bugs and b) getting rid of noise in console logs (which can swamp more important errors/warnings).

I'm wondering if there's a good reason for this?

If not, would be happy to submit a PR.

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

1 participant