Skip to content

Commit

Permalink
#10 Add .editorconfig file
Browse files Browse the repository at this point in the history
  • Loading branch information
Onur Ozgur OZKAN committed Sep 5, 2013
1 parent 1a7c073 commit 071d9d8
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
; This file is for unifying the coding style for different editors and IDEs.
; More information at http://EditorConfig.org

root = true

; Use 2 spaces for indentation in all Ruby files

[*.rb]
indent_style = space
indent_size = 2

[Rakefile]
indent_style = space
indent_size = 2

[Gemfile*]
indent_style = space
indent_size = 2

[config.ru]
indent_style = space
indent_size = 2

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

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

1 comment on commit 071d9d8

@baygunm
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.