Skip to content

Commit

Permalink
Merge pull request #3671 from bb010g/patch-1
Browse files Browse the repository at this point in the history
Add EditorConfig
  • Loading branch information
shuffle2 committed Jun 4, 2017
2 parents 407463f + 2d2e621 commit 2f41345
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2f41345

Please sign in to comment.