diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..849eac317 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ + +#Editor Config is So awesome + +#Indicate this is the config of the root +root = true + +# Apply the following rules to these file types +[{*.{cpp,cc,c,h,hpp,txt}}] +end_of_line = lf #Unix type line endings +insert_final_newline = true +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true + +#Separate Config for YML files +[*.yml] +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true