# https://editorconfig.org/

root = true

[*]
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8

[*.py]
indent_style = space
indent_size = 4
max_line_length = 120

# Use 2 spaces for the HTML files
[*.html]
indent_size = 2

# The JSON files contain newlines inconsistently
[{*.json,*.yml,*.yaml}]
indent_size = 2
insert_final_newline = ignore

[*.md]
trim_trailing_whitespace = false
