Closed SalahAdDin closed 1 month ago
@SalahAdDin, I was facing the same warning just now after creating a Vite template. I also thought that was a bug. But after adding settings: { react: { version: '18.3' } }
in my ESLint config it seems to work fine now. Maybe it will help you as well.
@SalahAdDin, I was facing the same warning just now after creating a Vite template. I also thought that was a bug. But after adding
settings: { react: { version: '18.3' } }
in my ESLint config it seems to work fine now. Maybe it will help you as well.
does that option exist in the latest ESLint version?
It's never not existed, afaik.
settings: { react: { version: '18.3' } }
Well, it worked!
Is there an existing issue for this?
Description Overview
We just migrated our configuration file to ESLint 9, we followed the latest documentation, and everything is going well.
Our configuration is as follows:
But when running the linter we get the following warning:
We are following the documentation and there is nothing about settings there, what is missing then?
Expected Behavior
It should not give us any warning.
eslint-plugin-react version
7.35.0
eslint version
9.9.0
node version
20.15.1