aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTixie <contact@tixie.name>2024-06-07 14:41:56 +0200
committerTixie <contact@tixie.name>2024-06-07 14:41:56 +0200
commit74ae837d07531ff8b77f5aec8caf6fe75b0fc81f (patch)
tree293d514f521116059309c78c57683778b0eec83c
parent354c350375d60d1370e269fe8b8ff31fd5bf5171 (diff)
downloadsite-74ae837d07531ff8b77f5aec8caf6fe75b0fc81f.tar.gz
site-74ae837d07531ff8b77f5aec8caf6fe75b0fc81f.zip
Ajout d'un editorconfig file
cf https://editorconfig.org
-rw-r--r--.editorconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..d130d82
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,21 @@
+root = true
+
+[*]
+end_of_line = lf
+trim_trailing_whitespace = true
+charset = utf-8
+
+[*.{html,css,js}]
+indent_style = space
+indent_size = 2
+
+[*.{yml,yaml}]
+indent_style = space
+indent_size = 2
+
+[*.json]
+indent_style = space
+indent_size = 2
+
+[*.md]
+trim_trailing_whitespace = false