mcpField
B
Biome

Biome

OfficialAgent-ready
github.comDeveloper Tools26.0kbiomeUpdated today
RepositoryVisit website

About Biome

Biome is a high-performance code formatter and linter written in Rust, designed for modern web projects. It combines formatting and linting in a single tool, checking code quality and automatically fixing issues across JavaScript, TypeScript and JSON files.

Key features

  1. 01Check and format JavaScript, TypeScript and JSON files
  2. 02Automatically fix code issues with the --write flag
  3. 03Run checks and formatting across entire project directories

Use cases

  1. 01Integrate code quality checks into CI/CD pipelines
  2. 02Automatically format and fix code generated by coding agents
  3. 03Maintain consistent code style across team projects

Install

Pick your OS or package manager and run the command in a terminal.

$
npm install -D --save-exact @biomejs/biome

Once installed, runbiome --versionto confirm it works.

Example commands

Common commands in the order you’d use them.

01
npx biome check .
02
npx biome check --write .

Details

From the project README
Shows the banner of Biome, with its logo and the phrase 'Biome - Toolchain of the web'.


CI on main Discord chat npm version VSCode version Open VSX version

हिन्दी | English | Español | Français | 繁體中文 | 简体中文 | 日本語 | Polski | Português do Brasil | 한국어 | Русский | Українська

Biome is a performant toolchain for web projects, it aims to provide developer tools to maintain the health of said projects.

Biome is a fast formatter for JavaScript, TypeScript, JSX, JSON, CSS, GraphQL, Markdown, YAML, and SCSS that scores 97% compatibility with Prettier.

Biome is a performant linter for JavaScript, TypeScript, JSX, JSON, CSS, GraphQL, Markdown, YAML, and SCSS that features more than 500 rules from ESLint, typescript-eslint, and other sources. It outputs detailed and contextualized diagnostics that help you to improve your code and become a better programmer!

Biome is designed from the start to be used interactively within an editor. It can format and lint malformed code as you are writing it.

Installation
npm install --save-dev --save-exact @biomejs/biome
Usage
# format files
npx @biomejs/biome format --write

# lint files and apply the safe fixes
npx @biomejs/biome lint --write

# run format, lint, etc. and apply the safe fixes
npx @biomejs/biome check --write

# check all files against format, lint, etc. in CI environments
npx @biomejs/biome ci

If you want to give Biome a run without installing it, use the online playground, compiled to WebAssembly.

Documentation

Check out our homepage to learn more about Biome, or directly head to the Getting Started guide to start using Biome.

More about Biome

Biome has sane defaults and it doesn't require configuration.

Biome aims to support all main languages of modern web development.

Biome doesn't require Node.js to function.

Biome has first-class LSP support, with a sophisticated parser that represents the source text in full fidelity and top-notch error recovery.

Biome wants to offer a high-quality Developer Experience, with descriptive diagnostics and great performance.

Biome unifies functionalities that have previously been separate tools. Building upon a shared base allows us to provide a cohesive experience for processing code, displaying errors, parallelize work, caching, and configuration.

Read more about our project philosophy.

Biome is MIT licensed or Apache 2.0 licensed and moderated under the Contributor Covenant Code of Conduct.

Funding

You can fund the project in different ways

Project sponsorship and funding

You can sponsor or fund the project via Open collective or GitHub sponsors

Biome offers a simple sponsorship program that allows companies to get visibility and recognition among various developers.

Biome offers enterprise support, where Core Contributors can be employed to work on company-focused projects.

Sponsors

Platinum Sponsors
Depot logo
Gold Sponsors
CodSpeed logo
Silver Sponsors
Lokalise logo Cloudflare logo SyntaxFM logo
Bronze Sponsors
CodeRabbit logo RStudio logo JetBrains logo EGSTOCK, Inc. logo Convex logo Graphite logo Kraken Tech logo Code for Japan logo

Comments

Markdown supported