Skip to content

file_min_size

File must be at least min_bytes in size. Catches placeholder / stub files that pass existence checks but add no information (a 0-byte LICENSE, a README.md with only a title).

- id: license-non-empty
kind: min_size
paths: ["LICENSE", "LICENSE.md", "LICENSE-APACHE", "LICENSE-MIT"]
min_bytes: 200
level: warning
OptionTypeRequiredDefaultDescription
min_bytesinteger (>= 0)yesMinimum allowed file size in bytes.

Plus the common paths, level, id, and when fields. This table is generated from the JSON Schema; option types and defaults are authoritative.