
Biome Has a Free API: One Tool to Lint and Format JavaScript, TypeScript, and JSON
Why Biome Biome replaces ESLint AND Prettier in one tool — written in Rust, 10-100x faster. Linting and formatting with zero config, one dependency. Install npm install --save-dev @biomejs/biome npx @biomejs/biome init One Command # Lint + format everything npx biome check --write . # Format only npx biome format --write . # Lint only npx biome lint . # CI mode (no writes, just check) npx biome ci . biome.json { "$schema" : "https://biomejs.dev/schemas/1.8.0/schema.json" , "organizeImports" : { "enabled" : true }, "linter" : { "enabled" : true , "rules" : { "recommended" : true , "complexity" : { "noExcessiveCognitiveComplexity" : "warn" }, "suspicious" : { "noExplicitAny" : "error" } } }, "formatter" : { "enabled" : true , "indentStyle" : "space" , "indentWidth" : 2 , "lineWidth" : 100 } } VS Code Extension Install the Biome VS Code extension — format on save, inline lint errors, quick fixes. Migration from ESLint + Prettier # Auto-migrate ESLint config npx @biomejs/biome migrate esli
Continue reading on Dev.to JavaScript
Opens in a new tab

