Skip to content

chore: migrate to rslint and prettier#105

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

chore: migrate to rslint and prettier#105
chenjiahan merged 1 commit intomainfrom
chenjiahan/migrate-rslint-prettier

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

This PR migrates the repository from Biome to the Rslint + Prettier toolchain used by the rsbuild plugin template. It adds Rslint and Prettier config files, updates lint scripts and VS Code recommendations, refreshes the lockfile, and applies Prettier formatting to existing files.

Copilot AI review requested due to automatic review settings April 28, 2026 13:37
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

Migrates the repo’s formatting/linting toolchain from Biome to Rslint + Prettier, aligning with the rsbuild plugin template and updating project/editor configuration accordingly.

Changes:

  • Replace Biome with @rslint/core and prettier, update lint/lint:write scripts, and refresh the pnpm lockfile.
  • Add Rslint/Prettier config + ignore files and update VS Code extension recommendations/settings.
  • Apply Prettier-driven formatting to docs/config and minor formatting-only code changes.

Reviewed changes

Copilot reviewed 12 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/TailwindCSSRspackPlugin.ts Prettier formatting-only change to a dynamic import statement.
rslint.config.ts Adds Rslint configuration (TypeScript-based config file).
package.json Switch lint scripts from Biome to Rslint + Prettier; update git hook command.
pnpm-lock.yaml Dependency graph update: removes Biome, adds Rslint + Prettier.
biome.json Removes Biome configuration.
.prettierrc Adds Prettier configuration (single quotes).
.prettierignore Adds ignore rules for build artifacts and lockfile.
.vscode/settings.json Sets Prettier as the default formatter.
.vscode/extensions.json Recommends Rslint + Prettier VS Code extensions.
README.md Prettier formatting for code examples and whitespace.
.github/workflows/test.yml Formatting-only YAML changes (quoting/whitespace).
.github/workflows/release.yml Formatting-only YAML changes (quoting).
.github/renovate.json5 Prettier formatting/indentation normalization.
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 rslint.config.ts
@chenjiahan chenjiahan merged commit a2f606c into main Apr 28, 2026
11 checks passed
@chenjiahan chenjiahan deleted the chenjiahan/migrate-rslint-prettier branch April 28, 2026 13:53
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