Write, Unsafe Fixes & Scopes in Biome

From the Biome cheat sheet ยท Core Commands ยท verified Aug 2026

Write, Unsafe Fixes & Scopes

Apply fixes deliberately and limit work to relevant Git changes.

bash
# Apply formatting and safe fixes
npx @biomejs/biome check --write .

# Include fixes that may change behavior
npx @biomejs/biome check --write --unsafe .
๐Ÿ“Œ Review unsafe fixes because they can change runtime behavior
โšก --staged is useful in a pre-commit hook
๐Ÿ’ก --changed keeps branch checks focused
๐Ÿ” --since overrides vcs.defaultBranch for one run
writeunsafestagedchanged

Continue with Biome

Save the full cheat sheet or work through every related task.

More Biome tasks

Back to the full Biome cheat sheet