Verified Solution

[facebook/react] Bug: eslint-plugin-react-hooks does not support ESLint 10 in peerDependencies

Sponsored Content
### ROOT CAUSE The issue arises because the `eslint-plugin-react-hooks` version 7.0.1 specifies its ESLint peer dependency to only support versions up to 9.x, excluding ESLint 10.0.0 and above. This causes a version mismatch when ESLint 10 is used. ### CODE FIX To resolve the issue, either: 1. **Downgrade ESLint to a compatible version:** Modify your `package.json` to use ESLint 9.x: ```json { "devDependencies": { "eslint": "^9.0.0", "eslint-plugin-react-hooks": "^7.0.1" } } ``` Then run: ```bash npm install ``` 2. **Wait for an updated plugin version:** Monitor updates to `eslint-plugin-react-hooks` that include ESLint 10 support. Alternatively, request the update from the maintainers. Choose the first option for an immediate fix or the second for long-term compatibility with newer ESLint versions.
Deploy on DigitalOcean ($200 Credit)

Related Fixes

[gitlab-org/gitlab] Merge requests do not update after upgrading to CE-18.9.1
[microsoft/vscode] Agent mode Keep/undo Edit diff should allow copying from the deleted (red) part
[gitlab-org/gitlab] Add admin controls to enable/disable specific LLM models for Duo Agent Platform at instance and top‑level group scope