jsx-eslint / eslint-plugin-react

React-specific linting rules for ESLint
MIT License
8.97k stars 2.77k forks source link

[Bug]: Support ESLint v9.9.0 #3800

Closed Byron2016 closed 1 month ago

Byron2016 commented 1 month ago

Is there an existing issue for this?

Description Overview

It is related to plugins currently do not support ESLint v9 yet.

pnpm create @eslint/config@latest
√ How would you like to use ESLint? · problems
√ What type of modules does your project use? · esm
√ Which framework does your project use? · react
√ Does your project use TypeScript? · typescript
√ Where does your code run? · browser
The config that you've selected requires the following dependencies: eslint@9.x, globals, @eslint/js, typescript-eslint, eslint-plugin-react
√ Would you like to install them now? · No / Yes
√ Which package manager do you want to use? · pnpm
+ eslint-plugin-react 7.35.0

**Note that some plugins currently do not support ESLint v9 yet.
You may need to use '--force' when installing**

Expected Behavior

I would like to know if currenty eslint-plugin-react works fine with eslint V9.9.0

eslint-plugin-react version

v7.35.0

eslint version

v9.9.0

node version

v20.15.1

ljharb commented 1 month ago

yes, the peer deps explicitly say that it supports eslint ^9.7. The warning isn't specific to this plugin, it's from that eslint/config package.