Repolode
biomejs

biomejs/biome

A Rust-based toolchain for web projects that provides a formatter and linter for JavaScript, TypeScript, JSX, JSON, CSS and more, via CLI and LSP.

Open-source alternative to:PrettierESLint

Stars
25,979
Forks
1,283
Open issues
481
Last commit
3 hours ago

What is it?

Biome is a toolchain for web projects that bundles a code formatter and a linter into a single tool, so developers can keep JavaScript, TypeScript, JSX, JSON, CSS, GraphQL, Markdown, YAML and SCSS files consistent and error-free. It is written in Rust and is designed to run interactively inside editors, formatting and linting code even while it is still being typed.

The formatter aims for high compatibility with Prettier, and the linter ships with more than 500 rules drawn from ESLint, typescript-eslint and other sources. Diagnostics are detailed and contextual, and safe fixes can be applied automatically through commands such as format, lint, check and ci. Biome works with sensible defaults and needs no configuration to start, and it does not require Node.js to run.

The project is usable from the command line, through a language server (LSP) for editors, and in the browser via a WebAssembly playground. It is distributed on npm and as editor extensions for VS Code and Open VSX.

Key features

  • 01Formats JavaScript, TypeScript, JSX, JSON, CSS, GraphQL, Markdown, YAML and SCSS.
  • 02Includes a linter with more than 500 rules from ESLint, typescript-eslint and other sources.
  • 03Provides detailed, contextual diagnostics and automatic safe fixes.
  • 04Offers an LSP server for first-class editor integration.
  • 05Works with sane defaults and does not require Node.js at runtime.

Use cases

  • Replacing separate Prettier and ESLint setups with one toolchain in a web project.
  • Enforcing consistent formatting and lint rules in CI pipelines using the ci command.
  • Getting inline formatting and lint feedback while editing in a supported editor.
  • Trying out formatting or lint behavior in the browser playground without installing anything.

Quick start

  1. 1

    Install Biome as a dev dependency with npm

    npm install --save-dev --save-exact @biomejs/biome
  2. 2

    Format your files

    npx @biomejs/biome format --write
  3. 3

    Run format, lint and apply safe fixes in one go

    npx @biomejs/biome check --write

Topics

FAQ

What is biome?
A Rust-based toolchain for web projects that provides a formatter and linter for JavaScript, TypeScript, JSX, JSON, CSS and more, via CLI and LSP. Biome is a toolchain for web projects that bundles a code formatter and a linter into a single tool, so developers can keep JavaScript, TypeScript, JSX, JSON, CSS, GraphQL, Markdown, YAML and SCSS files consistent and error-free. It is written in Rust and is designed to run interactively inside editors, formatting and linting code even while it is still being typed.
Is biome free to use? What license does it have?
biome is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is biome still maintained?
Actively maintained. The last commit to biome was on Oct 21, 2026.
What can I use biome for?
Replacing separate Prettier and ESLint setups with one toolchain in a web project. Enforcing consistent formatting and lint rules in CI pipelines using the ci command. Getting inline formatting and lint feedback while editing in a supported editor. Trying out formatting or lint behavior in the browser playground without installing anything.
How do I install biome?
Install Biome as a dev dependency with npm: npm install --save-dev --save-exact @biomejs/biome Format your files: npx @biomejs/biome format --write Run format, lint and apply safe fixes in one go: npx @biomejs/biome check --write
Where can I get biome?
The source code and installation instructions are on GitHub: https://github.com/biomejs/biome

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects