Why Biome?
Biome replaces ESLint + Prettier with a single tool written in Rust. It's 25x faster and needs zero config.
npm install --save-dev @biomejs/biome
npx biome init
Format + Lint in One Command
npx biome check . # Lint + format check
npx biome check --write . # Auto-fix everything
npx biome format --write . # Format only
npx biome lint . # Lint only
biome.json
{
"formatter": {
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100
},
"linter": {
"rules": {
"recommended": true,
"suspicious": { "noExplicitAny": "warn" },
"complexity": { "noForEach": "off" }
}
},
"javascript": {
"formatter": { "quoteStyle": "single", "semicolons": "asNeeded" }
}
}
Speed
| Tool | Time (1000 files) |
|---|---|
| Biome | 0.3s |
| ESLint + Prettier | 8s |
25x faster. Written in Rust, parallel processing.
Migration from ESLint
npx biome migrate eslint --write
npx biome migrate prettier --write
Reads your .eslintrc and .prettierrc, converts to biome.json.
Need to extract data from any website at scale? I build custom web scrapers — 77 production scrapers running on Apify Store. Email me at spinov001@gmail.com for a tailored solution.
Top comments (0)