-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Warning: React version not specified in eslint-plugin-react settings (Part 2) #3438
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
Comments
Can you put
Outside of |
Sorry if I'm not clear, just edited the message |
Dang, that was really all it was.. I must have been looking at some outdated references. Appreciate this a lot! |
Glad you figured it out! |
insert this code at at .eslintrc.json |
It would actually be like that for json format: "settings": {
"react": {
"version": "detect"
},
} |
Dois erros corrigidos. @typescript-eslint/dot-notation: https://stackoverflow.com/questions/64116378/error-while-loading-rule-typescript-eslint-dot-notation React version not specified in eslint-plugin-react jsx-eslint/eslint-plugin-react#3438 (comment)
Its not working even after putting "settings": { |
@pkpardeep482 if you upgrade to the latest version and it's still not working, please file a new issue. |
Related to #1955
I seem to still be having this issue on v7.31.8, discussed in the above issue, and would love some insight if I'm just setting things up incorrectly.

This is a brand new React/TS project being set up using VS Code and Vite, so what you see is all I have currently.
The eslint library is being loaded in successfully, and I don't have any errors, but I am still getting this warning:
The contents of my
.eslintrc.js
:Here is a repro repo where I'm currently having the issue:
https://github.com/juliehchung/test-dash
The text was updated successfully, but these errors were encountered: