Skip to content

file_max_size

File must be at most max_bytes in size. Catches accidental large-blob commits.

- id: no-huge-blobs
kind: max_size
paths: "**"
max_bytes: 5242880 # 5 MiB
level: warning