Getting Biome to format SVG
09:27 14 Aug 2026

In addition to installing biome:2.5.8 locally in the project, I've installed the VS Code Biome extension and configured it like this in the local .vscode/settings.json:

{
  "editor.defaultFormatter": "biomejs.biome",
  "editor.formatOnSave": false,
  "editor.codeActionsOnSave": {
    "source.organizeImports.biome": "explicit"
  }
}

I also added the following to biome.json:

  "files": {
    "ignoreUnknown": false,
    "includes": ["**/*.svg", "**/*.html", "**/*.js", "**/*.ts"]
  },
  "html": { "experimentalFullSupportEnabled": true },

Wnen I right click inside an SVG document and format, it does not format.

Any ideas?

visual-studio-code svg biomejs