Skip to content

Change npm run format to run biome check#563

Merged
stefanvanburen merged 6 commits intomainfrom
svanburen/biome-version
Feb 11, 2026
Merged

Change npm run format to run biome check#563
stefanvanburen merged 6 commits intomainfrom
svanburen/biome-version

Conversation

@stefanvanburen
Copy link
Member

@stefanvanburen stefanvanburen commented Feb 5, 2026

From npx biome check --help:

Runs formatter, linter and import sorting to the requested files.

If we don't run this, the import sorting is flagged by the linter. Might as well auto-fix it.

Also, changes the biome schema to use the local version (so we don't need to bump it on Dependabot upgrades), and moves the diff checking in CI to right after we run format to check for diffs (the tests will not change the code).

via `npx biome migrate --write`. Ideally we'd automate this; ah well!
From `npx biome check --help`

> Runs formatter, linter and import sorting to the requested files.

Might as well run all of this.
Fixes a biome check.
Might as well catch this early.

Also, drops some useless names from steps.
No need to keep the version up-to-date!
This will be done as a part of the formatting script with `biome
check`. The `lint` script is run in CI, so it ought to just lint.
@stefanvanburen stefanvanburen merged commit 4209aca into main Feb 11, 2026
6 checks passed
@stefanvanburen stefanvanburen deleted the svanburen/biome-version branch February 11, 2026 20:26
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.

2 participants