From 546721ed14f6dcd635c4985e2628789dfa6f1e32 Mon Sep 17 00:00:00 2001 From: Matteo Cherubini Date: Tue, 9 Jun 2026 12:19:31 +0200 Subject: [PATCH] feat: Initialize editor and Git configuration --- .editorconfig | 29 +++++++++++++++++++++++++++++ .gitignore | 4 ++++ 2 files changed, 33 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitignore 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