Merge pull request #3671 from bb010g/patch-1

Add EditorConfig
This commit is contained in:
shuffle2 2017-06-04 16:10:59 -07:00 committed by GitHub
commit 2f41345de2
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