# EditorConfig — https://editorconfig.org
root = true

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

# Python
[*.py]
indent_size = 4

# Web sources, config, and data
[*.{js,jsx,ts,tsx,css,html,json,yml,yaml,toml}]
indent_size = 2

# Markdown — keep trailing whitespace (two-space line breaks are significant)
[*.md]
trim_trailing_whitespace = false

# Makefiles require real tabs
[Makefile]
indent_style = tab
