diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..b3dc1d11fa --- /dev/null +++ b/.editorconfig @@ -0,0 +1,24 @@ +# EditorConfig helps maintain consistent coding styles +# https://editorconfig.org + +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false + +[*.{py,pyx}] +indent_size = 4 + +[*.{json,yml,yaml}] +indent_size = 2 + +[Makefile] +indent_style = tab