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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
forbidFlags? | readonly | string | Optional regular expression flags when forbidPattern is provided as a string. | fs/src/builders/create-fs-regex-check-builder.ts:15 |
forbidPattern | readonly | string | RegExp | Regular expression pattern or RegExp instance that fails the check when matched. | fs/src/builders/create-fs-regex-check-builder.ts:13 |
targetGlobs | readonly | readonly string[] | Glob patterns selecting mutated files to scan. | fs/src/builders/create-fs-regex-check-builder.ts:11 |
violationMessage | readonly | string | Diagnostic message reported in deficits when a match is found. | fs/src/builders/create-fs-regex-check-builder.ts:17 |