commit b9985ba12ef40515c008e654b7b3984b83ec3b28
parent 252c8d5e73e1d56aa73c3847e29d3bdfc2c18432
Author: Hugo Soucy <hugo@soucy.cc>
Date: Mon, 4 Feb 2019 18:57:58 -0500
Add an editorconfig file.
Diffstat:
1 file changed, 16 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,html,mustache,yaml,lua,json}]
+indent_size = 2