no_illegal_windows_names
Reject path components Windows can’t represent:
- Reserved device names (
CON,PRN,AUX,NUL,COM1–COM9,LPT1–LPT9) — case-insensitive, regardless of extension.con.txtfails;COM10andconfusedcorrectly pass. - Trailing dots (
foo.) or trailing spaces (foo) — Windows silently strips these on checkout. - Reserved chars:
<,>,:,",|,?,*.
- id: portable-names kind: no_illegal_windows_names paths: "**" level: warningOptions
Section titled “Options”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.