Browse Source

Add .editorconfig (#11412)

* Add an .editorconfig to the repo root folder, providing code style hints for some text editors and making the code render properly in github.

Co-authored-by: hecktest <>
hecks 2 years ago
parent
commit
e9bc59e376
1 changed files with 9 additions and 0 deletions
  1. 9 0
      .editorconfig

+ 9 - 0
.editorconfig

@@ -0,0 +1,9 @@
+[*]
+end_of_line = lf
+
+[*.{cpp,h,lua,txt,glsl,md,c,cmake,java,gradle}]
+charset = utf8
+indent_size = 4
+indent_style = tab
+insert_final_newline = true
+trim_trailing_whitespace = true