Skip to content

NoLargeBinaryFiles

const NoLargeBinaryFiles: object

Defined in: policies/NoLargeBinaryFiles.ts:123

A repo policy that prevents large binary files from being committed to the repository. Large files can bloat the repository and slow down clones. Consider using Git LFS for large assets.

description: string = "Prevents large binary files from being committed to avoid repository bloat; consider using Git LFS for large assets."

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

PolicyArgs<NoLargeBinaryFilesSettings>

Promise<PolicyFinding[]>

match: RegExp

name: string = "NoLargeBinaryFiles"