chore: update maintenance dependencies#172
Conversation
|
Deployment failed with the following error: Learn More: https://vercel.com/afc163s-projects?upgradeToPro=build-rate-limit |
|
Warning Review limit reached
Next review available in: 58 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 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 |
There was a problem hiding this comment.
Code Review
This pull request updates the project's dependencies (including React 19, TypeScript 6, and ESLint 9), migrates to ESLint flat config, groups Dependabot updates, and adds type declarations for React compatibility and global testing utilities. Feedback on these changes highlights two main issues: disabling strict type-checking in tsconfig.json significantly reduces type safety, and declaring test globals as any in global.d.ts overrides proper Jest types and should be avoided.
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.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub. |
|
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. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #172 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 32 32
Branches 8 8
=========================================
Hits 32 32 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
✅ Preview is ready!
↩️ Previous: ⚡️ 🤖 Powered by surge-preview |
|||||||||||||||
|
Related to ant-design/ant-design#58514. |
There was a problem hiding this comment.
Pull request overview
Maintenance-focused update that refreshes the project’s frontend/tooling dependencies and modernizes linting configuration to align with newer ESLint/TypeScript-ESLint ecosystems.
Changes:
- Migrates ESLint configuration from legacy
.eslintrc/.eslintignoreto a new flateslint.config.mjs. - Updates core dev tooling dependencies (React/ReactDOM, TypeScript, ESLint, Testing Library, and related types/plugins).
- Updates README ecosystem logo to link to https://ant.design and groups Dependabot updates for npm and GitHub Actions.
Reviewed changes
Copilot reviewed 7 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tsconfig.json | Adjusts TS module resolution/settings and expands includes (notably adds global.d.ts). |
| README.zh-CN.md | Wraps the Ant Design ecosystem logo in a link to https://ant.design. |
| README.md | Wraps the Ant Design ecosystem logo in a link to https://ant.design. |
| package.json | Updates maintenance/dev dependencies and related lint/test tooling versions. |
| global.d.ts | Adds global type references and module declarations for tooling/tests. |
| eslint.config.mjs | Introduces ESLint flat config compatible with newer ESLint/TS-ESLint. |
| .github/dependabot.yml | Adds grouped Dependabot updates for npm and GitHub Actions. |
| .eslintrc.js | Removes legacy ESLint config (superseded by flat config). |
| .eslintignore | Removes legacy ignore file (superseded by flat config ignores). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| import js from '@eslint/js'; | ||
| import { defineConfig } from 'eslint/config'; | ||
| import prettier from 'eslint-config-prettier'; |
| parserOptions: { | ||
| projectService: true, | ||
| tsconfigRootDir: import.meta.dirname, | ||
| }, |

Summary
Test Plan