chore: update biome to v2.2.0 and adjust configuration#5851
Merged
chenjiahan merged 1 commit intomainfrom Aug 15, 2025
Merged
Conversation
✅ Deploy Preview for rsbuild ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades Biome (a linter/formatter tool) from version 2.0.6 to 2.2.0 and adjusts the project configuration to accommodate new linting rules and patterns introduced in the updated version.
- Upgrade @biomejs/biome dependency from 2.0.6 to ^2.2.0
- Update biome.json configuration with refined ignore patterns and new rule adjustments
- Add biome-ignore comments to suppress false positive warnings for unused private class members
Reviewed Changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updates Biome dependency version to ^2.2.0 |
| biome.json | Refines ignore patterns and adds new linting rule configurations |
| .github/renovate.json5 | Removes Biome from the renovate ignore list to allow automatic updates |
| packages/core/src/server/devServer.ts | Removes outdated biome-ignore comment |
| packages/core/src/server/compilationManager.ts | Adds biome-ignore comments for private class members |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or 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
Checklist