Add an editorconfig

Add an editorconfig

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..527c2c2
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,14 @@
+# This file is for unifying the coding style for different editors and IDEs
+# editorconfig.org
+
+root = true
+
+[*]
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+indent_style = space
+indent_size = 2
+
+[*.md]
+trim_trailing_whitespace = false

GitHub sha: 95189ba9