PolicyInstanceSettings
Defined in: policy.ts:425
Settings for configuring a policy instance.
Type Parameters
Section titled “Type Parameters”C
Properties
Section titled “Properties”config?
Section titled “config?”
optionalconfig?:C
Defined in: policy.ts:443
The config that is applied to the policy instance.
excludeFiles?
Section titled “excludeFiles?”
optionalexcludeFiles?: (string|RegExp)[]
Defined in: policy.ts:438
An array of strings/regular expressions. File paths that match any of these expressions will be completely excluded from policy.
Paths will be matched relative to the root of the repo. Strings are case-insensitive regular expressions; RegExp values retain their flags.
instanceId?
Section titled “instanceId?”
optionalinstanceId?:string
Defined in: policy.ts:429
A stable identifier for this configured policy instance.