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

React version not specified in eslint-plugin-react settings #26

Closed
bzalasky opened this issue Feb 1, 2019 · 1 comment
Closed

React version not specified in eslint-plugin-react settings #26

bzalasky opened this issue Feb 1, 2019 · 1 comment

Comments

@bzalasky
Copy link

bzalasky commented Feb 1, 2019

I switched from pretty-quick to prettier-eslint today, and noticed a warning during a pre-commit hook:

husky > pre-commit (node v11.7.0)
Warning: React version not specified in eslint-plugin-react settings. See 
https://github.com/yannickcr/eslint-plugin-react#configuration .

This issue was recently fixed in eslint-plugin-react@7.12.4 (jsx-eslint/eslint-plugin-react#2128), and it seems prettier-eslint is grabbing an older version from here.

@kentcdodds
Copy link
Owner

I believe this has been fixed.

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

No branches or pull requests

2 participants