diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..883f1f80 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{py,rst,ini,ino}] +indent_style = space +indent_size = 4 + +[*.{html,css,scss,js,json,yml,vue}] +indent_style = space +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false + +[Makefile] +indent_style = tab