diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..46f23570
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,14 @@
+root = true
+
+[*.{py,md}]
+indent_style = space
+end_of_line = lf
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.py]
+max_line_length = 88
+indent_size = 4
+
+[*.md]
+max_line_length = 80