# 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 YAML files to use 2-space indentation.
[*.{yml,yaml}]
indent_size = 2

# Override for Markdown files to allow trailing whitespace,
# which is sometimes used for hard line breaks.
[*.md]
trim_trailing_whitespace = false

[Makefile]
indent_style = tab
max_line_length = 120
