# Velox editor defaults. Owned by lane PKG/QA. Mirrors .clang-format for C++ and the
# prevailing conventions for everything else.
root = true

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

[*.{cpp,cc,hpp,h}]
indent_size = 4
max_line_length = 100

[*.{ts,tsx,js,jsx,json,mjs}]
indent_size = 2

[*.{py}]
indent_size = 4
max_line_length = 100

[*.{cmake,txt}]
indent_size = 4

[CMakeLists.txt]
indent_size = 4

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

[*.sh]
indent_size = 4

[*.md]
trim_trailing_whitespace = false

[Makefile]
indent_style = tab
