# https://editorconfig.org
# Mirrors .clang-format (Google style, 2-space indent, 80 columns).
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2

[*.{c,h,cc,cpp,hpp}]
indent_size = 2
max_line_length = 80

[*.py]
indent_size = 4

[*.{yml,yaml,json,js,cmake}]
indent_size = 2

[CMakeLists.txt]
indent_size = 2

[Makefile]
indent_style = tab

[*.md]
# trailing double-space is a hard line break in Markdown
trim_trailing_whitespace = false
