Skip to content

Interface: FsRegexCheckOptions ​

Defined in: fs/src/builders/create-fs-regex-check-builder.ts:9

Configuration options for fs.regexCheck(id, options).

Specifies the target file globs to inspect among mutated files, the forbidden regex pattern (as a string or RegExp), and the deficit message reported on match.

Properties ​

PropertyModifierTypeDescriptionDefined in
forbidFlags?readonlystringOptional regular expression flags when forbidPattern is provided as a string.fs/src/builders/create-fs-regex-check-builder.ts:15
forbidPatternreadonlystring | RegExpRegular expression pattern or RegExp instance that fails the check when matched.fs/src/builders/create-fs-regex-check-builder.ts:13
targetGlobsreadonlyreadonly string[]Glob patterns selecting mutated files to scan.fs/src/builders/create-fs-regex-check-builder.ts:11
violationMessagereadonlystringDiagnostic message reported in deficits when a match is found.fs/src/builders/create-fs-regex-check-builder.ts:17

Released under the MIT License.