Skip to content

PolicyFailure

Defined in: policy.ts:167

A policy failure (legacy format).

optional autoFixable?: boolean

Defined in: policy.ts:181

Set to true if the policy can be fixed automatically.


errorMessages: string[]

Defined in: policy.ts:186

An optional error message accompanying the failure.


file: string

Defined in: policy.ts:176

Path to the file that failed the policy.


optional manualFix?: string

Defined in: policy.ts:191

An optional string that tells the user how to fix the failure(s).


name: string

Defined in: policy.ts:171

Name of the policy that failed.