diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..47a5343 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,29 @@ +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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..30754d7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +# VS Code — only shared workspace settings +.vscode/* +!.vscode/settings.json +!.vscode/extensions.json