chore: migrate to rslint and prettier#8
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR migrates the repository’s linting/formatting setup from Biome to Rslint + Prettier to align with the current rsbuild plugin template and standardize editor/CI formatting.
Changes:
- Replace Biome tooling/config with
@rslint/coreandprettier, including new config files. - Update package scripts and git hooks to run
rslintand Prettier checks/fixes. - Normalize formatting across docs and GitHub workflow/config files; remove Biome suppressions from Vue shim typings.
Reviewed changes
Copilot reviewed 11 out of 15 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
test/rslib/src/env.d.ts |
Removes Biome suppression comments and simplifies Vue module shim typing. |
test/rsbuild/src/env.d.ts |
Removes Biome suppression comments and simplifies Vue module shim typing. |
playground/rsbuild/src/env.d.ts |
Removes Biome suppression comments and simplifies Vue module shim typing. |
rslint.config.ts |
Adds Rslint configuration (TypeScript recommended preset). |
package.json |
Swaps scripts/hooks from Biome to Rslint + Prettier; updates devDependencies accordingly. |
biome.json |
Removes obsolete Biome configuration. |
.prettierrc |
Adds Prettier configuration (singleQuote). |
.prettierignore |
Adds ignore patterns to avoid formatting generated/artifact files and lockfile. |
.vscode/settings.json |
Switches default formatter to Prettier extension. |
.vscode/extensions.json |
Recommends Rslint + Prettier VS Code extensions. |
.github/workflows/test.yml |
Formatting normalization consistent with Prettier (quote style). |
.github/workflows/release.yml |
Formatting normalization consistent with Prettier (quote style). |
.github/renovate.json5 |
Formatting normalization consistent with Prettier (JSON5 style). |
README.md |
Prettier-normalized code examples (semicolons/formatting). |
pnpm-lock.yaml |
Updates lockfile for removed Biome + added Rslint/Prettier dependencies. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary: