Exclusions

Exclusions describe files that no standard should measure. Use categories for semantic groups and paths for project-specific cases.

exclude:
  gitignored: true
  categories:
    - assets
    - configuration
    - documentation
    - generated
    - tests
    - vendored
    - dependencies
  paths:
    - src/generated/**

Built-in categories

CategoryPurpose
assetsStatic assets, images, fonts, PDFs, design files, audio, and video.
configurationTool and package configuration files whose shape is imposed by another system, such as package.json, tsconfig, go.mod, Cargo.toml, pyproject.toml, and .considered.yaml.
documentationRepository prose such as README, changelog, docs directories, Markdown, text, reStructuredText, and AsciiDoc.
generatedLockfiles, generated directories, codegen outputs, protobuf outputs, and generated filename suffixes.
testsConventional test files and directories from common language ecosystems and test runners.
vendoredCommitted third-party source such as vendor, third_party, external, and vendored directories.
dependenciesInstalled dependency directories such as node_modules, virtual environments, and package stores.

Paths

Custom paths use doublestar glob syntax. They are useful for local conventions that are meaningful to one repository but too specific for a built-in category.

GitHub Actions workflows are intentionally not part of theconfiguration category. They are YAML, but they often behave more like operational programs than static tool settings.