Skip to content

NoBuildDirectory

const NoBuildDirectory: object

Defined in: policies/NoBuildDirectory.ts:15

A policy that prevents accidental commits of build directory contents. Applies to Gleam’s build/ output directory.

description: string = "Prevents accidental commits of build directory contents (Gleam build/ output)."

handler: (__namedParameters) => Operation<PolicyFinding[]>

PolicyArgs<void>

Operation<PolicyFinding[]>

match: RegExp = BUILD_DIR_REGEX

name: string = "NoBuildDirectory"