diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..9387173529 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +[*.js] +charset = utf-8 +indent_style = space +indent_size = 4 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{cpp,cc,c,hpp,h,hh}] +charset = utf-8 +indent_style = space +indent_size = 4 +end_of_line = lf +trim_trailing_whitespace = true