Skip to content

Commit

Permalink
add .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
carlodef committed Mar 30, 2016
1 parent 2347563 commit 48e4e1c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# http://EditorConfig.org

# top-most EditorConfig file
root = true

# utf8, unix-style newlines, no end of file newline, no trailing whitespaces
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = false
trim_trailing_whitespace = true

# 4 space indentation
[*.{py,c,cc,cpp,h,hpp}]
indent_style = space
indent_size = 4

# tab indentation (no size specified)
[Makefile]
indent_style = tab

0 comments on commit 48e4e1c

Please sign in to comment.