Add EditorConfig file for Ruby files

This commit is contained in:
Trey Hunner 2012-02-26 11:08:16 -08:00
parent a8c9fb8d7a
commit 05f54ab16b

22
.editorconfig Normal file
View File

@ -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