upgrade biome#358
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request upgrades Biome from version 1.9.4 to 2.0.6, which includes significant configuration changes and code formatting/linting rule updates. The upgrade modernizes the project's linting and formatting setup with improved rules and better organization.
- Updates Biome configuration schema and modernizes file inclusion/exclusion patterns
- Applies automatic code formatting fixes including import ordering and unused variable naming
- Enhances linting rules with stricter style guidelines and accessibility improvements
Reviewed Changes
Copilot reviewed 99 out of 100 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Updates Biome dependency from 1.9.4 to 2.0.6 |
| biome.jsonc | Modernizes configuration with new schema, file inclusion patterns, and enhanced linting rules |
| Multiple .ts/.tsx files | Applies import reordering, unused variable prefixing, and code style improvements |
| Multiple package.json files | Formats arrays to multiline format for better readability |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
cmwhited
approved these changes
Jul 22, 2025
Collaborator
cmwhited
left a comment
There was a problem hiding this comment.
Didn't go through all files. But config changes look good. Thanks for doing this 🔥
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.
did the lint:fix command and interestingly it renamed bunch of unsed variables e.g. https://github.com/graphprotocol/hypergraph/pull/358/files#diff-31393e44cb529ff5a5c7860accdf17cb98b94ff38f42405c70d94988310618b5R330
and it’s a lot more “aggressive” re-ordering imports - but also finally moves local components from @/ to the bottom
only had to apply about a dozen of manual fixes