Skip to content

Commit

Permalink
initial editorconfig file
Browse files Browse the repository at this point in the history
  • Loading branch information
wilmoore committed Dec 6, 2013
1 parent b5b024d commit 156db25
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# unifying the coding style for different editors and IDEs => editorconfig.org

; indicate this is the root of the project
root = true

###########################################################
; common
###########################################################

[*]
charset = utf-8

end_of_line = LF
insert_final_newline = true
trim_trailing_whitespace = true

indent_style = space
indent_size = 2

###########################################################
; erlang
###########################################################

[*.erl]
indent_size = 2

[*.hrl]
indent_size = 2

###########################################################
; make
###########################################################

[Makefile]
indent_style = tab

[makefile]
indent_style = tab

###########################################################
; markdown
###########################################################

[*.md]
trim_trailing_whitespace = false

0 comments on commit 156db25

Please sign in to comment.