Initialize Configuration in Biome

From the Biome cheat sheet ยท Installation & Setup ยท verified Aug 2026

Initialize Configuration

Generate biome.json, then enable the shared project defaults.

json
{
  "$schema": "https://biomejs.dev/schemas/2.5.6/schema.json",
  "formatter": {
    "enabled": true,
    "indentStyle": "space",
    "indentWidth": 2,
    "lineWidth": 100
  },
  "linter": {
    "enabled": true,
    "rules": {
      "preset": "recommended"
    }
  }
}
๐ŸŸข Run npx @biomejs/biome init to generate the first config
๐Ÿ“Œ Keep the schema URL aligned with the installed CLI version
๐Ÿ’ก biome.jsonc is available when configuration comments help
๐Ÿ” Most options work without extra plugins or dependencies
initconfigurationschema

Continue with Biome

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

More Biome tasks

Back to the full Biome cheat sheet