OptionalbannedOptionalcaseOptionalcircularOptionalcommitlintOptionalenabled?: booleanOptionalignores?: string[]Optionaltypes?: string[]OptionalconfigOptionalcoverageOptionalcppOptionalcsharpOptionalcspellOptionalcustomOptionaldeadOptionalenabled?: booleanOptionalignoreFiles?: string[]Regex sources matched against reported file paths; matching files are
dropped from the dead-code report. Use to exempt intentional public
surface — a package entry point (src/index.ts) or re-export barrels
whose exports are consumed by external installers, not within the repo.
Applied to the report (not ts-unused-exports' own --ignoreFiles), so it
never removes a file from analysis and cannot cascade onto other files.
Defaults to test/mock files (see DEAD_CODE_IGNORE_DEFAULTS), whose exports
are consumed only by the test runner and would otherwise show as unused.
Setting this replaces the default list.
OptionaldependencyOptionalenabled?: booleanOptionalignore?: string[]Dependency names to exclude from the unused/missing check (knip).
Supports globs matched against the whole name, e.g. "@types/" — so
"eslint-" covers "eslint-plugin-x" but never "eslint" itself. Use for
packages that are invoked only as CLI binaries or referenced from config —
knip sees no import for them and would otherwise report them as unused.
Compiled into a temporary knip config, so a repo that ships its own knip
config keeps full control instead.
OptionaldetectOptionaldiffOptionaldiffOptionaldockerfileOptionalduplicateOptionalenabled?: booleanOptionalformats?: string[]jscpd formats to scan. Defaults to source-code formats only
(see DUPLICATE_CODE_FORMATS) — data formats like yaml, json and
markdown are intentionally NOT scanned, since their repetition is rarely
meaningful duplication. Add them back (e.g. ["typescript", "yaml"]) if you
do want to detect duplication in those files. Setting this replaces the list.
Optionalignore?: string[]Glob patterns excluded from duplicate detection, in addition to the always-on node_modules/dist/.git ignores. Defaults to test files/folders (see DUPLICATE_IGNORE_DEFAULTS). Setting this replaces the default list.
OptionalminLines?: numberOptionalminTokens?: numberOptionalexcludeOptionalgoOptionalgrypeOptionalenabled?: booleanOptionalignore?: string[]OptionalminSeverity?: "negligible" | "low" | "medium" | "high" | "critical"OptionaltimeoutMs?: numberMax time (ms) for the grype scan before the check skips. Default 120000.
ignoreDirs already keeps node_modules, dist and friends out of the walk,
which is what makes the scan fast; this is the backstop so an advisory check
can never stall a commit.
OptionalignoreOptionalinstallOptionalkotlinOptionallanguagesOptionallargeOptionalleftoverOptionallicenseOptionallicenseOptionallintOptionallockfileOptionallogOptionalmergeOptionalmigrationOptionalmissingOptionaloutdatedOptionalenabled?: booleanOptionalignore?: string[]Exact package names to exclude from the outdated-deps warning, e.g.
"commander". Use for dependencies deliberately pinned behind their latest
major (a breaking upgrade you have chosen not to take, or one held back by
an overrides entry) so npm outdated no longer flags them as major-behind.
Matched by exact name — no globs or version ranges.
OptionaltimeoutMs?: numberOptionalpackageOptionalphpOptionalprOptionalprettierOptionalprOptionalpythonOptionalreporterOptionalrubyOptionalrunOptionalrustOptionalsecurityOptionalsensitiveOptionalseverityOptionalseverityOptionalshellcheckOptionalspellcheckOptionalswiftOptionalsymlinksOptionaltodoOptionaltypecheckOptionalvulnOptionalworkflowOptionalyaml
Regex sources (matched case-insensitively) for commit messages to skip, e.g. release PRs or squash-merge titles that don't follow conventional commits. Applied in addition to commitlint's built-in merge/revert ignores.