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