chore: update maintenance dependencies#324
Conversation
|
Warning Review limit reached
Next review available in: 59 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (9)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Code Review
This pull request upgrades the project's dependencies to React 19, TypeScript 6, and ESLint 9, introducing new type definitions and a flat ESLint configuration. The review feedback highlights several critical concerns regarding type safety and configuration workarounds. Specifically, the reviewer advises against disabling strict TypeScript compiler flags, overriding strongly-typed Jest globals with any, declaring Vitest globals in a Jest environment, and using fragile type-augmentation workarounds for React 19 compatibility. Additionally, the reviewer recommends fully migrating to the ESLint flat config format instead of using a complex normalization function to bridge legacy configurations.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
✅ Preview is ready!
↩️ Previous: ⚡️ 🤖 Powered by surge-preview |
|||||||||||||||
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #324 +/- ##
==========================================
+ Coverage 98.33% 98.61% +0.27%
==========================================
Files 8 8
Lines 301 433 +132
Branches 77 133 +56
==========================================
+ Hits 296 427 +131
- Misses 5 6 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
React Doctor found no new issues. 🎉 Reviewed by React Doctor for commit |
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
|
Deployment failed with the following error: Learn More: https://vercel.com/afc163s-projects?upgradeToPro=build-rate-limit |
|
Related to ant-design/ant-design#58514. |
There was a problem hiding this comment.
Pull request overview
This PR updates maintenance/developer tooling and documentation links, including a migration to ESLint 9 flat config and refreshed React/TypeScript/testing dependencies.
Changes:
- Update core dev dependencies (React/React DOM, TypeScript, ESLint, Testing Library, lint-staged, and related lint/type packages).
- Switch from legacy
.eslintrc.jstoeslint.config.mjs(flat config) and add Dependabot grouped updates. - Adjust TypeScript compiler options and minor code/docs updates (README logo link, snapshot header, a
useReftyping tweak).
Reviewed changes
Copilot reviewed 8 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
tsconfig.json |
Updates TS module settings and path aliases for the upgraded toolchain. |
eslint.config.mjs |
Adds ESLint 9 flat config with React/Jest/TypeScript ESLint integration. |
package.json |
Bumps React/TS/ESLint/testing/lint tooling dependencies. |
.eslintrc.js |
Removes legacy ESLint config (replaced by flat config). |
.github/dependabot.yml |
Groups npm and GitHub Actions updates under Dependabot. |
src/Mentions.tsx |
Minor ref typing initialization change for timeout handling. |
global.d.ts |
Adds global type references and module declarations for the TS build/test environment. |
README.md / README.zh-CN.md |
Wraps the Ant Design logo with a link to https://ant.design. |
tests/__snapshots__/AllowClear.spec.tsx.snap |
Updates the snapshot header link. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Summary
Test Plan