Biome is awesome. I use it on all my side-projects. It replaces prettier and eslint. And it's significantly faster.

An annoying thing about biome is that every time you upgrade to a new version, you have to remember to run (bunx|npx) @biomejs/biome migrate --write. This is to update your checked in biome.json. But there's a solution to this! Add this to the scripts portion of your package.json:


{
  "scripts": {
    ...
    "postinstall": "bunx @biomejs/biome migrate --write"
  }
  ...

(Replace bunx with npx if you use npm)

package.json

Now, whenever you upgrade the version of @biomejs/biome it will automatically make the necessary changes to your biome.json file.

Comments

Your email will never ever be published.

Previous:
gg shell completion August 13, 2025 Linux, JavaScript, Bun, macOS
Next:
Find GitHub Pull Request by commit SHA August 21, 2025 GitHub
Related by category:
Bun vs. Go for a basic web server benchmark October 24, 2025 Bun
Benchmarking oxlint vs biome December 12, 2025 Bun
Hosting your static web site with Firebase Hosting November 3, 2025 Bun
Testing out vite 8 on SPA: Vite 8 is 5x faster December 6, 2025 Bun
Related by keyword:
Benchmarking oxlint vs biome December 12, 2025 Bun, Rust, TypeScript
How I do deployments December 16, 2013 Linux, Web development