Skip to content

Commit

Permalink
added .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
mar10 committed Oct 13, 2013
1 parent e3141cc commit 342aca4
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
; EditorConfig is awesome: http://EditorConfig.org

; top-most EditorConfig file
root = true

; Unix-style newlines with a newline ending every file
[*]
; end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

; 4 space indentation
[*.py]
indent_style = space
indent_size = 4

; Tab indentation (no size specified)
[*.js]
; indent_style = tab
indent_style = space
indent_size = 4

; Indentation override for all JS under lib directory
[lib/**.js]
indent_style = space
indent_size = 2

0 comments on commit 342aca4

Please sign in to comment.