Skip to content

Use eslint-plugin-react-hooks for react eslint plugin#3437

Open
harryzcy wants to merge 9 commits into
mainfrom
eslint-plugin-react-hooks
Open

Use eslint-plugin-react-hooks for react eslint plugin#3437
harryzcy wants to merge 9 commits into
mainfrom
eslint-plugin-react-hooks

Conversation

@harryzcy

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings April 17, 2026 03:16
@harryzcy harryzcy added chore Maintenance dependencies Dependencies labels Apr 17, 2026
@codecov

codecov Bot commented Apr 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 30.42%. Comparing base (fc2c28a) to head (30992fe).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3437   +/-   ##
=======================================
  Coverage   30.42%   30.42%           
=======================================
  Files          19       19           
  Lines         733      733           
  Branches      103      103           
=======================================
  Hits          223      223           
  Misses        459      459           
  Partials       51       51           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the web app’s ESLint setup by swapping the React ESLint plugin configuration to use eslint-plugin-react-hooks, and updates the dependency manifests accordingly.

Changes:

  • Replace eslint-plugin-react with eslint-plugin-react-hooks in web/package.json.
  • Update the flat ESLint config to load eslint-plugin-react-hooks recommended config.
  • Regenerate web/package-lock.json to reflect the dependency changes.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.

File Description
web/package.json Replaces React ESLint plugin dependency with eslint-plugin-react-hooks.
web/package-lock.json Updates lockfile entries to remove eslint-plugin-react and add eslint-plugin-react-hooks and transitive deps.
web/eslint.config.ts Switches ESLint flat config from React plugin configs to React Hooks plugin recommended config.
Files not reviewed (1)
  • web/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread web/eslint.config.ts
Comment thread web/package.json
Comment thread web/package-lock.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Maintenance dependencies Dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants