Text hygiene
Rule kinds in the Text hygiene family. Each rule below links to its own page with options, an example, and any auto-fix support.
| Rule | Description |
|---|---|
no_trailing_whitespace | No line may end with space or tab. |
final_newline | File must end with a single \n. |
line_endings | Every line ending matches target: lf or crlf. |
line_max_width | Cap line length in characters (not bytes, code points). |
indent_style | Every non-blank line indents with the configured style (tabs or spaces). |
max_consecutive_blank_lines | Cap runs of blank lines to max. |