Configure options below — the preview updates in real time.
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).
Control which files Biome processes.
Glob patterns of files to process. Supports negated patterns starting with ! to exclude files.
The maximum allowed size for processed files in bytes.
Version control system integration settings.
The kind of VCS client being used.
Your main git branch name. Used for computing changed files via --changed.
The folder where Biome should check for VCS files.
Global code formatting settings.
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.
How to expand objects and arrays (auto, always, or never).
Glob patterns of files to format (overrides files.includes).
Global linting settings and rule configuration.
Glob patterns of files to lint.
Code assists and refactoring actions.
Glob patterns of files to process with assist tools.
JavaScript and TypeScript language-specific configuration.
Indicates the JSX runtime environment.
List of allowed global variables for the linter.
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.
How to expand objects and arrays in JS (overrides global).
Where to place the operator when a binary expression wraps to multiple lines.
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).
JSON language-specific configuration.
Enforce trailing commas behavior in JSON.
How to expand objects and arrays in JSON (auto, always, or never).
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).
CSS language-specific configuration.
Quote style for CSS.
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).
GraphQL language-specific configuration.
Quote style for GraphQL strings.
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).
HTML language-specific configuration.
HTML attribute positioning style.
How whitespace should be treated during formatting.
Whether to self-close void elements (e.g. <br /> vs <br>).
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).
Grit pattern language-specific configuration.
Quote style for Grit patterns.
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).
Get started
1{}