chore: migrate linting to rslint#84
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Migrates the project’s linting workflow from Biome to Rslint + Prettier, updating scripts, hooks, and configuration accordingly.
Changes:
- Added
rslint.config.tsusing TypeScript + React recommended configs with a couple rule overrides. - Updated
package.jsonlint scripts and pre-commit hook; removed Biome and nano-staged. - Removed
biome.jsonand added a.prettierignoreentry for the lockfile.
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| rslint.config.ts | Introduces Rslint configuration (TS + React recommended + overrides). |
| package.json | Swaps lint tooling to rslint + prettier, removes Biome/nano-staged, updates pre-commit hook. |
| biome.json | Deletes Biome configuration after migration. |
| AGENTS.md | Updates developer docs to reflect the new linting commands and hook behavior. |
| .prettierignore | Prevents Prettier from touching the lockfile. |
| .github/workflows/test.yml | Minor YAML formatting/quoting adjustment. |
| .github/workflows/release.yml | Minor YAML quoting adjustment for tag pattern and action input. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 99bd14c411
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
This PR migrates the lint workflow from Biome to Rslint plus Prettier, following the rsbuild plugin template. It adds
rslint.config.ts, updates lint scripts and the pre-commit hook command, removes Biome/nano-staged, and refreshes the lockfile for the new lint dependency.