Skip to content

Commit

Permalink
Add EditorConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffbyrnes committed Nov 21, 2018
1 parent 31ea601 commit b6a5640
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
; EditorConfig is awesome: http://EditorConfig.org

root = true

; Ruby/JS style
; UTF-8 charset
; Unix-style newlines with a newline ending every file
; 2 space indent
; Trim trailing whitespace
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

; Markdown
; 4 space indent
; Trailing whitespace is potentially meaningful, leave it
[*.md]
indent_size = 4
trim_trailing_whitespace = false

; Shell scripts
; 4 space indent
[*.sh]
indent_size = 4

0 comments on commit b6a5640

Please sign in to comment.