Configure options below — the preview updates in real time.

Schema & Global Setup

Top-level configuration for the Biome workspace.

Path to the JSON schema for IDE autocomplete and validation.

A list of paths to other Biome configuration files to extend. Order matters (least relevant to most relevant).

RootWhether this configuration should be treated as a workspace root. Nested configurations must set this to false.

Files

Control which files Biome processes.

Glob patterns of files to process. Supports negated patterns starting with ! to exclude files.

Ignore UnknownSilently ignore files Biome doesn't know how to handle instead of erroring.

The maximum allowed size for processed files in bytes.

VCS / Git Integration

Version control system integration settings.

EnabledWhether Biome should integrate with a version control system.

The kind of VCS client being used.

Use Ignore FileWhether Biome should respect the VCS ignore file (e.g. .gitignore).

Your main git branch name. Used for computing changed files via --changed.

The folder where Biome should check for VCS files.

Formatter

Global code formatting settings.

EnabledEnables or disables the global code formatter.
Format With ErrorsWhether to format files even if they contain syntax errors.

The indentation style to use globally.

The size of the indentation.

The type of line ending to enforce.

The max width/character limit of a line before wrapping.

The attribute position style in HTML-like languages.

Bracket SpacingInsert spaces inside curly brackets (e.g. { foo: bar }).

How to expand objects and arrays (auto, always, or never).

Trailing NewlineAdd a trailing newline at the end of files.
Use EditorConfigWhether Biome should use the .editorconfig file to determine formatting options.

Glob patterns of files to format (overrides files.includes).

Linter

Global linting settings and rule configuration.

EnabledEnables or disables the global linter.

Glob patterns of files to lint.

Recommended RulesEnables Biome's recommended lint rules.
All RulesEnables all available lint rules (not recommended for most projects).

Assist

Code assists and refactoring actions.

EnabledEnables code assists/refactoring actions globally.

Glob patterns of files to process with assist tools.

JavaScript

JavaScript and TypeScript language-specific configuration.

Indicates the JSX runtime environment.

List of allowed global variables for the linter.

Experimental Embedded SnippetsEnable support for embedded language snippets in JavaScript/TypeScript files.
JS Formatter EnabledEnable/disable JavaScript formatter.

The quote style for JavaScript strings.

The quote style for JSX attributes.

When to put quotes around object properties.

How to handle trailing commas.

Enforce semicolons at the end of statements.

Enforce parentheses in arrow functions (x) => x.

JS Bracket SpacingOverrides global bracket spacing for JS.
JS Bracket Same LineOverrides global bracket same line rule for JS.

How to expand objects and arrays in JS (overrides global).

Where to place the operator when a binary expression wraps to multiple lines.

JS Trailing NewlineAdd a trailing newline at the end of JS files (overrides global).

JS-specific indent style (overrides global).

JS-specific indent width (overrides global).

JS-specific line ending style (overrides global).

JS-specific line width (overrides global).

JS-specific attribute position for JSX (overrides global).

Unsafe Parameter DecoratorsEnable support for experimental parameter decorators.
JSX EverywhereAllow JSX in non-JSX files.
JS Linter EnabledEnable linter for JS files specifically.
JS Assist EnabledEnable assist for JS files specifically.

JSON

JSON language-specific configuration.

Allow CommentsAllow parsing comments in JSON files.
Allow Trailing CommasAllow parsing trailing commas in JSON files.
JSON Formatter EnabledEnable/disable JSON formatter.

Enforce trailing commas behavior in JSON.

How to expand objects and arrays in JSON (auto, always, or never).

JSON Bracket SpacingInsert spaces inside curly brackets in JSON.
JSON Trailing NewlineAdd a trailing newline at the end of JSON files.

JSON-specific indent style (overrides global).

JSON-specific indent width (overrides global).

JSON-specific line ending style (overrides global).

JSON-specific line width (overrides global).

JSON Linter EnabledEnable linter for JSON files.
JSON Assist EnabledEnable assist for JSON files.

CSS

CSS language-specific configuration.

CSS ModulesEnable parsing CSS Modules logic.
Tailwind DirectivesEnable parsing Tailwind CSS directives.
CSS Formatter EnabledEnable CSS formatter.

Quote style for CSS.

CSS Trailing NewlineAdd a trailing newline at the end of CSS files.

CSS-specific indent style (overrides global).

CSS-specific indent width (overrides global).

CSS-specific line ending style (overrides global).

CSS-specific line width (overrides global).

CSS Linter EnabledEnable linter for CSS files.
CSS Assist EnabledEnable assist for CSS files.

GraphQL

GraphQL language-specific configuration.

GraphQL Formatter EnabledEnable GraphQL formatter.

Quote style for GraphQL strings.

GraphQL Trailing NewlineAdd a trailing newline at the end of GraphQL files.

GraphQL-specific indent style (overrides global).

GraphQL-specific indent width (overrides global).

GraphQL-specific line ending style (overrides global).

GraphQL-specific line width (overrides global).

GraphQL Linter EnabledEnable linter for GraphQL files.
GraphQL Assist EnabledEnable assist for GraphQL files.

HTML

HTML language-specific configuration.

HTML Formatter EnabledEnable HTML formatter.

HTML attribute positioning style.

HTML Bracket Same LinePut the > of a multi-line HTML element at the end of the last line.

How whitespace should be treated during formatting.

Indent Script & StyleIndent the inner content of <script> and <style> elements.

Whether to self-close void elements (e.g. <br /> vs <br>).

Trailing NewlineAdd a trailing newline at the end of HTML files.

HTML-specific indent style (overrides global).

HTML-specific indent width (overrides global).

HTML-specific line ending style (overrides global).

HTML-specific line width (overrides global).

InterpolationSupport for parsing HTML string interpolations.
HTML Linter EnabledEnable linter for HTML files.
HTML Assist EnabledEnable assist for HTML files.

Grit

Grit pattern language-specific configuration.

Grit Formatter EnabledEnable formatter for Grit patterns.

Quote style for Grit patterns.

Grit Trailing NewlineAdd a trailing newline at the end of Grit files.

Grit-specific indent style (overrides global).

Grit-specific indent width (overrides global).

Grit-specific line ending style (overrides global).

Grit-specific line width (overrides global).

Grit Linter EnabledEnable linter for Grit patterns.
Grit Assist EnabledEnable assist for Grit patterns.