summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2017-01-02 12:31:26 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2017-01-02 12:31:26 +0000
commit16bc8b4629f6fced987736560adb8fcbe152ae85 (patch)
treeb21c40c9c2396cde3aa93ba7bc6e8fd7c91150e2 /.editorconfig
parenta2a2d2917010881b8f6dc4560ef9ff0e6c02df7a (diff)
downloadgitano-16bc8b4629f6fced987736560adb8fcbe152ae85.tar.gz
Added editorconfig file
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
+