# This is the top-most EditorConfig file.
root = true

# Apply these rules to all files in the repository as a baseline.
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 88

# Override for common data and config formats to use 2-space indentation
# and disable line length checks, as they often contain long strings.
[*.{json,yml,yaml,xml,toml}]
indent_size = 2
max_line_length = unset

[*.md]
trim_trailing_whitespace = false
max_line_length = 120

[Makefile]
indent_style = tab
max_line_length = 120
