Add EditorConfig

Details at http://editorconfig.org/.
This commit is contained in:
Brayden 2016-02-24 19:33:17 -08:00 committed by Brayden Banks
parent 8028564a07
commit 2d2e621058
1 changed files with 32 additions and 0 deletions

32
.editorconfig Normal file
View File

@ -0,0 +1,32 @@
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
trim_trailing_whitespace = true
[*.{c,cpp,h}]
indent_style = space
insert_final_newline = true
max_line_length = 100
[{CMakeLists.txt,*.cmake}]
indent_style = tab
[.editorconfig]
insert_final_newline = true
[*.gradle]
indent_size = 4
indent_style = space
insert_final_newline = false
[*.java]
indent_style = tab
insert_final_newline = true
[*.xml]
indent_size = 4
indent_style = space
insert_final_newline = true