root = true

# Whitespace / EOL / indent per TUTTI i tipi — cross-editor, zero dipendenze.
# Non tocca mai il CONTENUTO (quindi i placeholder {{...}} sono al sicuro qui).

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

# Markdown: preserva i "due spazi" di fine riga (hard break) → non trimmare.
[*.md]
trim_trailing_whitespace = false

[*.{sh,bash}]
indent_style = space
indent_size = 2

[*.{py,pyi}]
indent_style = space
indent_size = 4

[*.{yml,yaml,json}]
indent_style = space
indent_size = 2

[Makefile]
indent_style = tab
