# .editorconfig (organization reference)
# Ensures consistent formatting across all Civic Interconnect repos.

root = true

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

# Markdown - allow trailing whitespace for line breaks
[*.md]
trim_trailing_whitespace = false

# YAML / JSON - 2 spaces (common in tooling)
[*.yml]
indent_size = 2

[*.yaml]
indent_size = 2

[*.json]
indent_size = 2

# JavaScript / TypeScript
[*.js]
indent_size = 2

[*.ts]
indent_size = 2

# TOML (pyproject)
[*.toml]
indent_size = 4
