chore: standardize repository maintenance#19
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 (11)
✨ 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 |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
There was a problem hiding this comment.
Code Review
This pull request introduces several updates to the repository, including adding GitHub funding and dependabot configurations, improving the English README, and adding a Chinese translation. In package.json, the release flow is updated with @rc-component/np, and devDependencies like Husky, lint-staged, and Prettier are upgraded. Feedback was provided regarding the Prettier v3 upgrade, which requires explicit plugin configuration in package.json to ensure that prettier-plugin-organize-imports and prettier-plugin-packagejson continue to work.
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.
There was a problem hiding this comment.
Pull request overview
This PR standardizes repository “maintenance” aspects (docs, linting, and GitHub automation) to align with broader rc-component / Ant Design ecosystem conventions.
Changes:
- Refreshes README/README.zh-CN with centered branding, badges, and standardized install/dev/release guidance.
- Migrates ESLint to a flat config (
eslint.config.mjs) and updates tooling dependencies accordingly. - Adds GitHub maintenance automation (CI test workflow, CodeQL, Dependabot groups, and FUNDING).
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
tsconfig.json |
Adds ignoreDeprecations to reduce TS deprecation noise during builds. |
README.zh-CN.md |
Adds a new Simplified Chinese README with standardized sections and badges. |
README.md |
Replaces the old README with a standardized, branded version and updated commands. |
package.json |
Updates scripts and devDependencies (ESLint 9 + plugins, husky 9, prettier 3, @rc-component/np) and bumps father peer requirement. |
eslint.config.mjs |
Introduces ESLint flat config with React/TS/Jest/Prettier integration. |
.github/workflows/test.yml |
Adds a GitHub Actions CI workflow to lint and build on Node 22. |
.github/workflows/codeql.yml |
Adds CodeQL scanning workflow for JS/TS. |
.github/FUNDING.yml |
Adds GitHub Sponsors/OpenCollective metadata. |
.github/dependabot.yml |
Adds grouped Dependabot updates for npm and GitHub Actions. |
.eslintrc.js |
Removes legacy ESLint config now replaced by flat config. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
@rc-component/npwhere applicable.Refs ant-design/ant-design#58514
Test
npm run lint\n-npm run build\n-git diff --check