diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000000000000000000000000000000000000..fda60ba06292f8097f3d9e4adb41be11047b9a07
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
+root=true
+
+[*]
+charset = utf-8
+end_of_line = lf
+indent_size = 4
+indent_style = space
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.{js,ts,yml,yaml,md,json}]
+indent_size = 2
+
+[Makefile]
+indent_style = tab
+