diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..e7f569ef9 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + + +[{Makefile, *.sh}] +indent_style = tab + +# Trailing spaces in markdown indicate word wrap +[{*.markdown,*.md}] +trim_trailing_spaces = false +max_line_length = 80