diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000000000000000000000000000000000000..2bbd036dd7036748169f8f854c9965cea520b89e
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,14 @@
+root = true
+
+[*.{cfg,in,md,json}]
+end_of_line = lf
+charset = utf-8
+insert_final_newline = true
+
+[**.json]
+indent_style = space
+indent_size = 2
+
+# business templates metadata
+[**/bt/**]
+insert_final_newline = false