summaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorFlorian Orben <florian.orben@gmail.com>2015-11-11 00:23:31 +0100
committerFlorian Orben <florian.orben@gmail.com>2015-11-11 00:23:31 +0100
commitc9ecd972787276cba2b31616ba78d2e405060503 (patch)
treeb450c0fab5ea8058b08627c6506c89e26e49f98b /.editorconfig
parent6272f0f0252edcf86139d656ce13d3e3189da19e (diff)
downloadchat-c9ecd972787276cba2b31616ba78d2e405060503.tar.gz
chat-c9ecd972787276cba2b31616ba78d2e405060503.tar.bz2
chat-c9ecd972787276cba2b31616ba78d2e405060503.zip
Add .editorconfig file to allow editors/IDEs to auto apply the correct settings
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..15dd92ecd
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,21 @@
+# http://editorconfig.org/
+
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = false
+charset = utf-8
+
+[*.{go,scss}]
+indent_style = tab
+
+[*.{js,jsx,json,html}]
+indent_style = space
+indent_size = 4
+
+[web/react/package.json]
+indent_size = 2
+
+[Makefile]
+indent_style = tab