summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKimmo Brunfeldt <kimmobrunfeldt@gmail.com>2014-07-06 22:04:42 +0300
committerKimmo Brunfeldt <kimmobrunfeldt@gmail.com>2014-07-06 22:04:42 +0300
commit620a89f3c5f78a75669ebe0ab8e08cabec3b9bb2 (patch)
tree609222a041f2dbdf981b472f36ce98ecda3729c0
parent68b8c990abe4e2fcab2e95cf50dcb29c3e351438 (diff)
downloadgit-hours-620a89f3c5f78a75669ebe0ab8e08cabec3b9bb2.zip
git-hours-620a89f3c5f78a75669ebe0ab8e08cabec3b9bb2.tar.gz
git-hours-620a89f3c5f78a75669ebe0ab8e08cabec3b9bb2.tar.bz2
Add editorconfig
-rw-r--r--.editorconfig28
1 files changed, 28 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..76c1bcb
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,28 @@
+# EditorConfig is awesome: http://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+# Unix-style newlines with a newline ending every file
+[*]
+end_of_line = lf
+insert_final_newline = true
+
+# 4 space indentation
+[*.py]
+indent_style = space
+indent_size = 4
+
+# Tab indentation (no size specified)
+[*.js]
+indent_style = space
+indent_size = 4
+
+# Matches the exact files package.json and .travis.yml
+[{package.json,.travis.yml,Gruntfile.js}]
+indent_style = space
+indent_size = 2
+
+[Makefile]
+indent_style = tab
+indent_size = 4