Developer Tools 1 min read 1,729 views

Biome: The All-in-One JavaScript Toolchain Replacing ESLint and Prettier

Biome combines linting and formatting in a single, blazing-fast tool. Learn why teams are switching from ESLint.

E
Biome linting tool

Biome is a fast, all-in-one toolchain for JavaScript and TypeScript that combines linting, formatting, and more in a single tool.

Why Biome?

  • Speed: 10-100x faster than ESLint + Prettier
  • One tool: Linting and formatting together
  • Zero config: Works out of the box
  • Rich diagnostics: Helpful error messages

Getting Started

# Install
npm install --save-dev @biomejs/biome

# Initialize config
npx biome init

# Format files
npx biome format --write .

# Lint files
npx biome lint .

# Both at once
npx biome check --write .

Configuration

// biome.json
{
  "formatter": {
    "indentStyle": "space",
    "indentWidth": 2
  },
  "linter": {
    "enabled": true,
    "rules": {
      "recommended": true,
      "complexity": {
        "noForEach": "warn"
      }
    }
  }
}

Migration from ESLint

# Auto-migrate ESLint config
npx biome migrate eslint
Share this article:
ES

Written by Edrees Salih

Full-stack software engineer with 9 years of experience. Passionate about building scalable solutions and sharing knowledge with the developer community.

View Profile

Comments (0)

Leave a Comment

Your email will not be published.

No comments yet. Be the first to share your thoughts!