Core
The foundational file-level settings: indentation style and size, line endings, character encoding, final-newline and trailing-whitespace handling, and max_line_length — the column target that determines whether Curb reflows long lines or runs in preservation mode.
charset
Byte-order mark handling. preserve keeps whatever the file arrived with. Defaults to `preserve`
end_of_line
Line ending to write. auto matches whatever the source uses. Defaults to `auto`
indent_size
Columns per indent level. Defaults to `4`
indent_style
Indent with spaces or tabs. Defaults to `space`
insert_final_newline
Ensure the file ends with a newline. Defaults to `true`
max_line_length
Column target for reflow. off disables reflow entirely and selects preservation mode. Defaults to `off`
tab_width
Columns a tab occupies when measuring line width. Defaults to `4`
trim_trailing_whitespace
Remove trailing whitespace from each line. Defaults to `true`