diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..2c7f2ec3 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,24 @@ +root = true + +[*] +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{cpp,h,py,sh,yml}] +indent_style = space +indent_size = 2 +max_line_length = 140 + +[*.py] +indent_size = 4 + +[src/libs/**] +indent_style = unset +indent_size = unset +tab_width = unset +end_of_line = unset +charset = unset +trim_trailing_whitespace = unset +insert_final_newline = unset +max_line_length = unset