Permalink
Browse files

Add EditorConfig file for Ruby files

  • Loading branch information...
1 parent 810d7e4 commit b3606b9f6741292bd261a429aa402b2164895b9a @treyhunner treyhunner committed with parkr 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 b3606b9

Please sign in to comment.