diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..e9210b37 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,24 @@ +# http://editorconfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true + +[*.{cpp,h}] +charset = utf-8 +indent_style = space +indent_size = 4 +tab_width = 4 +trim_trailing_whitespace = true + +[*.sh] +indent_style = space +indent_size = 4 + +[*.php] +indent_style = space +indent_size = 4