Project Formatting Options in Biome

From the Biome cheat sheet ยท Formatter ยท verified Aug 2026

Project Formatting Options

Set indentation, line width, line endings, and EditorConfig behavior.

json
{
  "formatter": {
    "enabled": true,
    "indentStyle": "space",
    "indentWidth": 2,
    "lineWidth": 100,
    "lineEnding": "lf"
  }
}
๐Ÿ“Œ Space indentation uses indentWidth; tabs ignore it
๐Ÿ’ก useEditorconfig imports supported .editorconfig settings
๐Ÿ” formatWithErrors defaults to false
โšก lineEnding auto follows the current operating system
formattereditorconfigindentation

Continue with Biome

Save the full cheat sheet or work through every related task.

More Biome tasks

Back to the full Biome cheat sheet