Skip to content

ScriptContainsRule

Defined in: policies/ScriptContains.ts:9

Configuration for validating that a script’s body contains required substrings.

mustContain: string[]

Defined in: policies/ScriptContains.ts:19

Substrings that must appear in the script body. All substrings must be present for the script to pass validation.


script: string

Defined in: policies/ScriptContains.ts:13

The name of the script to validate.