DEV Community

Alex Spinov
Alex Spinov

Posted on

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

A developer had ESLint (200+ rules), Prettier (formatting), eslint-config-prettier (resolving conflicts between them), and 15 ESLint plugins. Config files totaled 300 lines.

Biome is a single tool that replaces ESLint AND Prettier. Written in Rust, it is 35x faster. One config file. Zero plugin hell.

What Biome Offers for Free

  • Linting - 270+ rules (covers most ESLint rules)
  • Formatting - Prettier-compatible output
  • One Tool - No more ESLint vs Prettier conflicts
  • 35x Faster - Written in Rust
  • Zero Config - Works out of the box
  • Import Sorting - Built-in import organization
  • TypeScript - First-class TS support
  • JSX/TSX - React and framework support
  • CI-Friendly - biome ci for CI pipelines

Quick Start

npm install --save-dev --save-exact @biomejs/biome
npx @biomejs/biome init
npx @biomejs/biome check --write .
Enter fullscreen mode Exit fullscreen mode
// biome.json
{
  "formatter": { "indentStyle": "space", "indentWidth": 2 },
  "linter": { "enabled": true }
}
Enter fullscreen mode Exit fullscreen mode

GitHub: biomejs/biome - 16K+ stars


Need to monitor and scrape data from multiple web services automatically? I build custom scraping solutions. Check out my web scraping toolkit or email me at spinov001@gmail.com for a tailored solution.

Top comments (0)