Back to articles
Biome Has a Free Linter and Formatter — Replace ESLint and Prettier with One Fast Tool

Biome Has a Free Linter and Formatter — Replace ESLint and Prettier with One Fast Tool

via Dev.to WebdevAlex Spinov

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 buil

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
2 views

Related Articles