DEV Community

Alex Spinov
Alex Spinov

Posted on

Biome Has a Free Ultra-Fast Code Formatter and Linter

Biome is a free, open-source toolchain for JavaScript, TypeScript, JSX, JSON, and CSS. It replaces ESLint and Prettier — and is 35x faster.

What Is Biome?

Biome formats, lints, and analyzes your code in one tool. Written in Rust for maximum speed.

npm install --save-dev @biomejs/biome
npx biome init  # Creates biome.json
npx biome check .  # Format + lint in one command
Enter fullscreen mode Exit fullscreen mode
// biome.json
{
  "formatter": { "indentStyle": "space", "indentWidth": 2 },
  "linter": { "enabled": true }
}
Enter fullscreen mode Exit fullscreen mode

Speed comparison:
| Tool | 1000 files |
|------|------------|
| ESLint + Prettier | 12.5s |
| Biome | 0.36s |

35x faster. One tool instead of two. 300+ lint rules. VS Code extension available.

With 16K+ GitHub stars. The fast formatter.


Apify tools | spinov001@gmail.com

Top comments (0)