Skip to content

Update Biome to v2.2.0; migrate config file #7529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

camdecoster
Copy link
Contributor

@camdecoster camdecoster commented Aug 19, 2025

Description

Update Biome dependency to v2.2.0 and migrate the config file to be compatible with the new version.

Changes

  • Update Biome to v2.2.0 from v1.8.3
  • Update Biome config
  • Remove duplicated keys in JSON test mock

Notes

  • Users will need to run npm i after this merges to get the new Biome binary
  • I'm going to start formatting on save. This will result in a number of changes to follow the rules in the Biome config. The philosophy of Biome formatting is to have a limited number of options so that you set it and forget it and don't argue about what set up is better. Let's use that same philosophy!
  • FYI, if(someBoolean) will get switched to if (someBoolean) because there's no way to configure that space in between if and (
  • It would be nice to add a linting/formatting check in CI in the future
  • The current rules are being mostly ignored because we don't enforce any check This isn't true. There is a linting check, but there's no formatting check.

@camdecoster camdecoster added the dependencies Pull requests that update a dependency file label Aug 20, 2025
@gvwilson gvwilson requested a review from emilykl August 22, 2025 15:16
@gvwilson gvwilson added P1 needed for current cycle fix fixes something broken labels Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file fix fixes something broken P1 needed for current cycle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants