root = true

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

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

# ================================
# Config / data
# ================================
[*.{toml,yaml,yml,json,ini,cfg}]
indent_style = space
indent_size = 2

# ================================
# Markdown / docs
# ================================
[*.md]
indent_style = space
indent_size = 2
trim_trailing_whitespace = false

# ================================
# Shell scripts
# ================================
[*.sh]
indent_style = space
indent_size = 2
