Skip to content

Conversation

@GianlucaGuarini
Copy link
Member

Upgrade to biome v2 #21

This comment was marked as outdated.

Copy link

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

This PR upgrades the project from Biome v1 to v2, updating configuration files and test expectations to align with the new version's features and rule changes.

Key changes:

  • Updated Biome dependency from ^1.7.0 to ^2.0.0 and related package versions
  • Migrated configuration structure from v1 to v2 format with new schema and options
  • Updated test expectations to reflect changes in Biome v2's linting rules and behavior

Reviewed Changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
package.json Updated Biome and other dependencies to latest versions
biome/base.json Migrated configuration from v1 to v2 format with new schema and rule structure
biome.json Updated schema and changed file ignore syntax from v1 to v2 format
tests/biome.test.json Removed separate test configuration file
tests/biome.test.ts Simplified command and updated test expectations for new rule behavior
tests/stylelint-*.test.ts Replaced TypeScript ignore comments with proper type assertions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Collaborator

@MarekLacoAXA MarekLacoAXA left a comment

Choose a reason for hiding this comment

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

Thanks! 👍

just wondering: Shouldn't this package be released as new major version? 🤔
As migration biome 1=>2 may cause formatting changes across project files.

@GianlucaGuarini
Copy link
Member Author

just wondering: Shouldn't this package be released as new major version? 🤔

yes it will be a major release

@GianlucaGuarini GianlucaGuarini merged commit 6b9c72d into main Sep 22, 2025
2 checks passed
@GianlucaGuarini GianlucaGuarini deleted the feature/upgrade-to-biome-v2 branch September 22, 2025 07:01
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.

3 participants