file_ends_with
Byte-level prefix / suffix check. Works on any bytes (binary safe, unlike file_header).
- id: generated-sentinel kind: file_ends_with paths: "build/**/*.generated.md" suffix: "<!-- generated by alint -->\n" level: errorCheck-only: a fix would risk silently duplicating a near-matching prefix. Pair with file_prepend / file_append explicitly if you want auto-repair.
Options
Section titled “Options”| Option | Type | Required | Default | Description |
|---|---|---|---|---|
suffix | string | yes | Required suffix, matched byte-for-byte. |
Plus the common paths, level, id, and when fields. This table is generated from the JSON Schema; option types and defaults are authoritative.