commit 5c8dd430ea15bb3ace4925ae2e4534d80d2dceae
parent 68de85017655070bb582cf0364c1a370ad95337c
Author: Hugo Soucy <hs0ucy@h50ucy.local>
Date: Tue, 25 Sep 2018 22:33:16 -0400
Add a global editorconfig
Diffstat:
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/.editorconfig b/.editorconfig
@@ -0,0 +1,16 @@
+# EditorConfig <http://EditorConfig.org>
+
+root = true
+
+# Unix-style newlines with a newline ending every file
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+indent_style = space
+indent_size = 4
+trim_trailing_whitespace = true
+
+# 2 space indentation (CSS, YML, and templates HTML big family)
+[*.{css,yml,xml,xhtml,html,vm,ftl,mustache,twig,hbs,yaml}]
+indent_size = 2
diff --git a/.gitignore b/.gitignore
@@ -5,6 +5,7 @@
!.gitignore
!.config/terminator/config
+!.editorconfig
!.kshrc
!.mbsyncrc
!.profile