TL;DR — Quick Summary
Biome is a blazing fast formatter and linter for JS, TS, JSX, JSON, and CSS. One tool replaces ESLint + Prettier — 35x faster, zero config.
Biome replaces ESLint + Prettier in one tool. 35x faster, zero config, one dependency.
Installation
# npm
npm install --save-dev @biomejs/biome
# pnpm
pnpm add --save-dev @biomejs/biome
# Initialize config
npx biome init
Usage
# Format all files
npx biome format --write src/
# Lint all files
npx biome lint src/
# Check everything (format + lint + organizing imports)
npx biome check --write src/
# CI mode — check without writing
npx biome ci src/
# Single file
npx biome check file.ts
Configuration
biome.json:
{
"$schema": "https://biomejs.dev/schemas/1.9.0/schema.json",
"formatter": {
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100
},
"linter": {
"rules": {
"recommended": true
}
}
}
Comparison
| Feature | Biome | ESLint + Prettier |
|---|---|---|
| Speed | ⚡ 35x faster | Baseline |
| Config files | 1 (biome.json) | 2+ (.eslintrc, .prettierrc) |
| Dependencies | 1 | 20+ |
| Language | Rust | JavaScript |
| CSS support | ✅ | Separate tools |
Summary
- Biome: one tool for formatting + linting
- 35x faster than ESLint — written in Rust
- Zero config — works out of the box
- Supports JS, TS, JSX, JSON, CSS
- Built-in import organization