Skip to content

max_files_per_directory

Per-directory fanout may not exceed max_files. Useful for vendor directories that accidentally grow to thousands of entries.

- id: vendor-dir-fanout-cap
kind: max_files_per_directory
paths: "vendor/**"
max_files: 200
level: warning