RepositoryPolicyArgs
Defined in: policy.ts:107
Arguments for a policy that runs once against the repository.
Extends
Section titled “Extends”Omit<PolicyArgs<C>,"file">
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.
Inherited from
Section titled “Inherited from”Omit.config
files: readonly
string[]
Defined in: policy.ts:110
Full file inventory after global and per-policy exclusions, not stdin selection.
resolve
Section titled “resolve”resolve:
boolean
Defined in: policy.ts:39
If true, the handler should resolve any violations automatically if possible.
Inherited from
Section titled “Inherited from”root:
string
Defined in: policy.ts:34
Absolute path to the root of the repo.