PolicyArgs
Defined in: policy.ts:25
Arguments passed to policy handler functions.
Type Parameters
Section titled “Type Parameters”C = void
Properties
Section titled “Properties”config?
Section titled “config?”
optionalconfig?:C
Defined in: policy.ts:44
Optional configuration for the policy.
file:
string
Defined in: policy.ts:29
Path to the file, relative to the repo root.
resolve
Section titled “resolve”resolve:
boolean
Defined in: policy.ts:39
If true, the handler should resolve any violations automatically if possible.
root:
string
Defined in: policy.ts:34
Absolute path to the root of the repo.