diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..272f5d7
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,7 @@
+# top-most EditorConfig file
+root = true
+
+# Matches the exact files either package.json or .travis.yml
+[{*.yml,*.yaml,config.yml,defaults.yml}]
+indent_style = space
+indent_size = 2