summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig26
1 files changed, 26 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..4700b09
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,26 @@
+# This is an EditorConfig file
+# Learn more at http://editorconfig.org
+
+root = true
+
+# All files are UNIX-style and UTF-8
+[*]
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+trim_trailing_whitespace = true
+
+# Lua code should be space indented, to 3 spaces
+[{*.lua,bin/*.in,testing/gitano-test-tool.in,utils/install-lua-bin}]
+indent_style = space
+indent_size = 3
+
+# Yarns are markdown, so spaces, 4 space indent
+[*.yarn]
+indent_style = space
+indent_size = 4
+
+# Makefiles use tabs
+[Makefile]
+indent_style = tab
+