Skip to content

Commit

Permalink
Add EditorConfig file for Ruby files
Browse files Browse the repository at this point in the history
  • Loading branch information
treyhunner committed Feb 26, 2012
1 parent a8c9fb8 commit 05f54ab
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .editorconfig
@@ -0,0 +1,22 @@
; 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

0 comments on commit 05f54ab

Please sign in to comment.