Skip to content

Commit

Permalink
Add .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
e0ff committed Dec 25, 2017
1 parent a3a22ae commit df40fd8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{c,h}]
indent_style = space
indent_size = 4

[*.{yml,sh,cmake}]
indent_style = space
indent_size = 2

[Makefile]
indent_style = tab
indent_size = 4

[CMakeLists.txt]
indent_style = space
indent_size = 2

0 comments on commit df40fd8

Please sign in to comment.