Interface: FileScanIgnoreOptions
Options controlling built-in and repository .gitignore matching.
Extends
Section titled “Extends”Properties
Section titled “Properties”defaults?
Section titled “defaults?”
optionaldefaults?:boolean
Build artifacts, dependency dirs, caches, logs, and OS junk files.
Inherited from
Section titled “Inherited from”IgnorePatternOptions.defaults
optionaldot?:boolean
Hidden dot-files and dot-directories (.git, .vscode, .gitignore, etc.).
Inherited from
Section titled “Inherited from”IgnorePatternOptions.dot
optionalgit?:boolean
Load root and nested .gitignore files using Git-compatible semantics.
Defaults to false.
optionallock?:boolean|"auto"
Lockfile ignore group (package-lock.json, pnpm-lock.yaml, yarn.lock,
bun.lockb, etc.).
true- always ignore lockfiles.false- never ignore lockfiles."auto"(default) - ignore when the active npm registry is not the public npm registry (registry.npmjs.org), e.g. a company-internal registry.
Inherited from
Section titled “Inherited from”IgnorePatternOptions.lock
optionaltemp?:boolean
Temporary directories (tmp, .tmp, scratch, etc.).
Inherited from
Section titled “Inherited from”IgnorePatternOptions.temp
optionaltest?:boolean
Test directories and *.test.* / *.spec.* naming conventions.
Scanning/watch default on; omit (false) when emitting .gitignore /
.prettierignore so tests stay tracked and formatable.
Inherited from
Section titled “Inherited from”IgnorePatternOptions.test