Skip to content

no_empty_files

Flag zero-byte files. Fixable via file_remove.

- id: no-empty
kind: no_empty_files
paths: "**"
level: warning
fix:
file_remove: {}

This rule takes no kind-specific options.

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