diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..40de22df5 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +trim_trailing_whitespace = true +insert_final_newline = true + +[{*.cpp,*.c,*.hpp,*.h,*.cs}] +indent_style = space +indent_size = 4 + +[*.json] +indent_style = space +indent_size = 2