Skip to content

PolicyArgs

Defined in: policy.ts:25

Arguments passed to policy handler functions.

C = void

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