# .editorconfig for Railiance
# See: https://editorconfig.org

root = true

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

# Default indentation
indent_style = space
indent_size = 2

# Markdown: don't strip trailing whitespace (needed for line breaks)
[*.md]
trim_trailing_whitespace = false

# YAML & Ansible playbooks: 2 spaces
[*.{yml,yaml}]
indent_style = space
indent_size = 2

# Shell scripts: 2 spaces, LF enforced above
[*.sh]
indent_style = space
indent_size = 2

# Python: 4 spaces
[*.py]
indent_style = space
indent_size = 4
