diff --git a/.editorconfig b/.editorconfig
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..07762f40fbeade8a7d2c8c2313d31ef205098aeb 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -0,0 +1,11 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.{js,ts,json}]
+indent_size = 2
+indent_style = space