diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000000..461d93d21a34 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*.{py,c,cpp,h,rst,md,yml,json}] +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = space + +[*.{py,c,h,json}] +indent_size = 4 + +[*.yml] +indent_size = 2