Permalink
Browse files

Add EditorConfig file for Ruby files

  • Loading branch information...
1 parent a8c9fb8 commit 05f54ab16b167656fb58b1f6503296dd44518132 @treyhunner treyhunner committed Feb 26, 2012
Showing with 22 additions and 0 deletions.
  1. +22 −0 .editorconfig
View
@@ -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.