Skip to content

Commit

Permalink
add .editorconfig to fix indentation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rlidwka committed Aug 13, 2014
1 parent 60ae815 commit fdbde9e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# top-most EditorConfig file
root = true

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

# Tab indentation (no size specified)
[*.js]
indent_style = tab

# 2 space indentation
[{.,}*.y{a,}ml]
indent_style = space
indent_size = 2

# Indentation override for Gruntfile
[Gruntfile.js]
indent_style = space
indent_size = 4

0 comments on commit fdbde9e

Please sign in to comment.