Biome Features
Performance
| Tool | Format 1000 files | Lint 1000 files |
|---|---|---|
| ESLint + Prettier | ~8s | ~12s |
| Biome | ~0.3s | ~0.5s |
| Speedup | 25x | 24x |
200+ Lint Rules
{
"linter": {
"rules": {
"recommended": true,
"correctness": { "noUnusedVariables": "error" },
"suspicious": { "noExplicitAny": "warn" },
"style": { "useConst": "error" },
"security": { "noDangerouslySetInnerHtml": "error" }
}
}
}Categories: correctness, suspicious, style, complexity, performance, security, a11y.
Import Sorting
{
"organizeImports": { "enabled": true }
}Before:
import { z } from 'zod';
import React from 'react';
import { useState } from 'react';
import { Button } from './components';
import axios from 'axios';After:
import React from 'react';
import { useState } from 'react';
import axios from 'axios';
import { z } from 'zod';
import { Button } from './components';VS Code Extension
Install "Biome" from VS Code Extensions. Format on save, inline diagnostics, quick fixes.
Migration from ESLint + Prettier
# Auto-migrate your ESLint config
npx @biomejs/biome migrate eslint
# Auto-migrate your Prettier config
npx @biomejs/biome migrate prettierCI Integration
# GitHub Actions
- name: Lint and format
run: npx biome ci .biome ci exits with error code if any issues found — perfect for CI gates.
FAQ
Q: What is Biome? A: Biome is a Rust-powered linter and formatter with 24,200+ GitHub stars that replaces ESLint + Prettier. 200+ lint rules, 25x faster, 97% Prettier compatible.
Q: Can I migrate from ESLint + Prettier?
A: Yes. Run npx biome migrate eslint and npx biome migrate prettier to auto-convert your configs.
Q: Is Biome free? A: Yes, open-source under Apache-2.0.