Scan Policy
Warden applies a global scan policy before chunking files for analysis. The default policy skips common generated, build, lock, binary, media, archive, and large data artifacts.
Use defaults.ignore.paths for gitignore-style path overrides. Prefix a pattern
with ! to re-include a file that would otherwise be ignored. Re-included files
still use normal chunking rules.
[defaults.ignore]paths = [ "**/fixtures/**", "!**/fixtures/security-regressions/**",]
[defaults.scan]maxFiles = 150maxChangedLines = 10000maxFileBytes = 1048576maxFileLines = 3000Limits
Section titled “Limits”maxFiles- Max files to analyze after ignores are applied. Default:
150. maxChangedLines- Max changed lines to analyze after ignores are applied. Default:
10000. maxFileBytes- Max file size for files whose contents may be read. Default:
1048576. maxFileLines- Max file length for files whose contents may be read. Default:
3000.
When a run exceeds maxFiles or maxChangedLines, Warden scans files in the
existing diff order until the budget is exhausted and records the remaining
files as skipped.