Git Integration & Changed Files in Biome

From the Biome cheat sheet ยท Files & Version Control ยท verified Aug 2026

Git Integration & Changed Files

Read Git ignore files and define the comparison branch for focused checks.

json
{
  "vcs": {
    "enabled": true,
    "clientKind": "git",
    "useIgnoreFile": true,
    "defaultBranch": "main"
  }
}
๐Ÿ’ก Git integration reads .gitignore and .git/info/exclude
โšก Use check --staged locally and ci --changed in CI
๐Ÿ“Œ vcs.root is relative to the Biome configuration file
๐Ÿ” --since can replace defaultBranch for one command
gitvcschangedgitignore

Continue with Biome

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

More Biome tasks

Back to the full Biome cheat sheet