Skip to content

Commit

Permalink
2 spaces indent
Browse files Browse the repository at this point in the history
  • Loading branch information
Nils Knappmeier committed May 27, 2015
1 parent aef7737 commit 8dc8918
Showing 1 changed file with 23 additions and 16 deletions.
39 changes: 23 additions & 16 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,27 +1,34 @@
# http://editorconfig.org
# .editorconfig <https://github.com/tunnckoCore/dotfiles>
#
# Copyright (c) 2015 Charlike Mike Reagent, contributors.
# Released under the MIT license.
#

root = true

[*]
indent_style = space
end_of_line = lf
charset = utf-8
indent_size = 4
trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = false
trim_trailing_whitespace = false

[*.{js,php}]
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.json]
indent_style = space
[*.{php,html}]
indent_size = 4

[*.yml]
indent_style = space
indent_size = 4
[*.{json,cson,yml,yaml,html,md,jade,css,stylus}]
indent_size = 2

[*.md]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false
[Makefile]
indent_size = 2
indent_style = tab

[test/fixtures/*]
trim_trailing_whitespace = false
insert_final_newline = false
[.*rc]
indent_size = 2
indent_style = space
trim_trailing_whitespace = true

0 comments on commit 8dc8918

Please sign in to comment.