root = true

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

# C++ engine + CMake
[*.{c,cc,cpp,h,hpp}]
indent_size = 4

[{CMakeLists.txt,*.cmake}]
indent_size = 2

# Web / config
[*.{ts,tsx,js,jsx,json,yml,yaml}]
indent_size = 2

# Python gateway (PEP 8)
[*.py]
indent_size = 4

# Windows scripts keep CRLF
[*.{ps1,bat,cmd}]
end_of_line = crlf

[*.md]
trim_trailing_whitespace = false
