Housekeeping

The housekeeping of a whole file, applied after the other formatting.

These settings change bytes that a code block cannot show: the spaces at the end of a line, the line break at the end of the file, the line break between the lines. They are described here rather than shown.

housekeeping.trim-trailing-whitespace

Default: true.

Whether the spaces and the tabs at the end of each line are removed. The spaces and tabs inside a string literal always stay.

housekeeping.enforce-eof

Default: true.

Whether the file ends with exactly one line break (standard Unix EOF).

housekeeping.line-ending

Default: keep.

The line break written at the end of each line, string literals over several lines included.