Add EditorConfig file for Ruby files
This commit is contained in:
parent
a8c9fb8d7a
commit
05f54ab16b
22
.editorconfig
Normal file
22
.editorconfig
Normal 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
|
Loading…
Reference in New Issue
Block a user