Skip to content

Function: ignorePatterns()

ignorePatterns(options?): Sequence<string>

Yields the glob strings for each enabled built-in ignore group.

Useful when a consumer needs literal patterns (e.g. projen .gitignore / .prettierignore) rather than a compiled PathMatcher. For those file emitters pass { test: false } - the test group belongs to scanning only (ignorePathMatcher), not VCS/formatter ignores.

IgnorePatternOptions

Group toggles; omitted flags default to enabled.

Sequence<string>