Skip to content

chore: migrate to Rslint and Prettier#45

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/migrate-rslint-prettier
Apr 28, 2026
Merged

chore: migrate to Rslint and Prettier#45
chenjiahan merged 1 commit into
mainfrom
chenjiahan/migrate-rslint-prettier

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

@chenjiahan chenjiahan commented Apr 28, 2026

Summary

  • Replace Biome with Rslint and Prettier using the template lint scripts and config.

Copilot AI review requested due to automatic review settings April 28, 2026 08:59
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Migrates the project’s linting/formatting tooling from Biome to Rslint + Prettier, updating scripts and hooks accordingly.

Changes:

  • Add Rslint configuration and replace Biome scripts with Rslint/Prettier equivalents.
  • Update pre-commit hook behavior to run lint/format write passes.
  • Remove Biome config and reformat touched docs/config files to match Prettier rules.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
rslint.config.ts Adds Rslint configuration using TypeScript recommended rules.
package.json Swaps Biome + nano-staged for Rslint + Prettier and updates git hooks/scripts.
biome.json Removes Biome configuration now that the tool is no longer used.
README.md Updates code samples to match Prettier single-quote formatting.
.prettierrc Adds Prettier config (singleQuote).
.prettierignore Ignores build artifacts and lockfile from Prettier formatting/checking.
.github/workflows/test.yml Normalizes YAML quoting consistent with Prettier formatting.
.github/workflows/release.yml Normalizes YAML quoting consistent with Prettier formatting.
.github/renovate.json5 Reformats Renovate config to Prettier’s JSON5 style.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

Comment thread package.json
Comment thread package.json
Comment thread package.json
Comment thread package.json
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 05b5088b06

ℹ️ 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".

Comment thread package.json
@chenjiahan chenjiahan merged commit 3f8eefc into main Apr 28, 2026
4 of 6 checks passed
@chenjiahan chenjiahan deleted the chenjiahan/migrate-rslint-prettier branch April 28, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants