Includes, Exclusions & Generated Files in Biome

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

Includes, Exclusions & Generated Files

Use ordered glob patterns to define what Biome processes or scans.

json
{
  "files": {
    "includes": [
      "src/**",
      "tests/**",
      "!**/*.generated.ts",
      "!!**/dist",
      "!!**/coverage"
    ],
    "ignoreUnknown": true
  }
}
๐Ÿ“Œ Patterns are evaluated in order, so later entries can restore files
โšก Use !! for build output the scanner must never index
๐Ÿ’ก Use a single ! when generated types still aid analysis
๐Ÿ” node_modules is ignored without an explicit pattern
filesglobsignoregenerated

Continue with Biome

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

More Biome tasks

Back to the full Biome cheat sheet