# Biome — Fast Formatter & Linter for Web Projects > Rust-powered formatter and linter for JavaScript, TypeScript, JSX, JSON, and CSS. 35x faster than Prettier + ESLint combined. One tool, zero config, consistent output. 16,000+ stars. ## Install Save as a script file and run: ## Quick Use ```bash # Install npm install --save-dev @biomejs/biome # Format all files npx biome format --write . # Lint all files npx biome lint . # Both at once npx biome check --write . ``` Add to `biome.json`: ```json { "$schema": "https://biomejs.dev/schemas/1.9.0/schema.json", "formatter": { "indentStyle": "space", "indentWidth": 2 }, "linter": { "enabled": true, "rules": { "recommended": true } } } ``` --- ## Intro Biome is a Rust-powered formatter and linter for JavaScript, TypeScript, JSX, JSON, and CSS with 16,000+ GitHub stars. It replaces Prettier + ESLint with a single tool that runs 35x faster, requires zero configuration, and produces identical output every time. One `npx biome check --write .` formats and lints your entire project in milliseconds. Best for web development teams who want fast, consistent code quality without config fatigue. Works with: any JS/TS project, CI/CD pipelines, pre-commit hooks. Setup time: under 1 minute. --- ## What Biome Replaces | Old Tools | Biome Equivalent | Speed | |-----------|-----------------|-------| | Prettier + ESLint | `biome check` | 35x faster | | Prettier | `biome format` | 25x faster | | ESLint | `biome lint` | 15x faster | ### Zero Config Biome works out of the box with sensible defaults. No `.prettierrc`, no `.eslintrc`, no plugin conflicts: ```bash npx biome check --write . # Done. All files formatted and linted. ``` ### 300+ Lint Rules Biome includes rules from ESLint, TypeScript ESLint, and custom rules: ```json { "linter": { "rules": { "recommended": true, "correctness": { "noUnusedVariables": "error" }, "suspicious": { "noExplicitAny": "warn" }, "style": { "useConst": "error" } } } } ``` ### Language Support | Language | Format | Lint | |----------|--------|------| | JavaScript | Yes | Yes | | TypeScript | Yes | Yes | | JSX/TSX | Yes | Yes | | JSON | Yes | Yes | | CSS | Yes | Yes | | GraphQL | Yes | Coming | ### Editor Integration - VS Code: `biomejs.biome` extension - JetBrains: built-in support - Neovim: LSP support - Format-on-save works instantly ### CI Integration ```yaml # .github/workflows/quality.yml - name: Biome run: npx biome ci . ``` ### Migration from Prettier + ESLint ```bash # Auto-migrate your config npx biome migrate prettier npx biome migrate eslint ``` ### Key Stats - 16,000+ GitHub stars - Written in Rust - 35x faster than Prettier + ESLint - 300+ lint rules - JS, TS, JSX, JSON, CSS support ### FAQ **Q: What is Biome?** A: Biome is a Rust-powered formatter and linter that replaces Prettier + ESLint with a single, 35x faster tool for JavaScript, TypeScript, and CSS projects. **Q: Is Biome free?** A: Yes, fully open-source under MIT license. **Q: Is Biome compatible with Prettier formatting?** A: 97% compatible. Run `biome migrate prettier` to import your existing config. --- ## Source & Thanks > Created by [Biome](https://github.com/biomejs). Licensed under MIT. > > [biome](https://github.com/biomejs/biome) — ⭐ 16,000+ Thanks for proving that code quality tools don't have to be slow. --- ## 快速使用 ```bash npm install --save-dev @biomejs/biome npx biome check --write . # 同时格式化和检查 ``` --- ## 简介 Biome 是一个 Rust 驱动的 JS/TS/CSS 格式化器和代码检查器,GitHub 16,000+ stars。单一工具替代 Prettier + ESLint,速度快 35 倍。零配置,开箱即用。适合需要快速一致代码质量的 Web 开发团队。 --- ## 来源与感谢 > Created by [Biome](https://github.com/biomejs). Licensed under MIT. > > [biome](https://github.com/biomejs/biome) — ⭐ 16,000+ --- Source: https://tokrepo.com/en/workflows/d8e830a7-39e3-4560-aa4a-b8fc1f53f816 Author: Script Depot