Skip to content

PolicyInstanceSettings

Defined in: policy.ts:425

Settings for configuring a policy instance.

C

optional config?: C

Defined in: policy.ts:443

The config that is applied to the policy instance.


optional excludeFiles?: (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.


optional instanceId?: string

Defined in: policy.ts:429

A stable identifier for this configured policy instance.