NoBuildDirectory
constNoBuildDirectory:object
Defined in: policies/NoBuildDirectory.ts:15
A policy that prevents accidental commits of build directory contents.
Applies to Gleam’s build/ output directory.
Type Declaration
Section titled “Type Declaration”description
Section titled “description”description:
string="Prevents accidental commits of build directory contents (Gleam build/ output)."
handler
Section titled “handler”handler: (
__namedParameters) =>Operation<PolicyFinding[]>
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”PolicyArgs<void>
Returns
Section titled “Returns”Operation<PolicyFinding[]>
match:
RegExp=BUILD_DIR_REGEX
name:
string="NoBuildDirectory"