diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..bd09de5
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,6 @@
+root = true
+
+[*.js]
+indent_style = tab
+indent_size = 4
+trim_trailing_whitespace = true
\ No newline at end of file