Skip to content

Commit 05f54ab

Browse files
committed
Add EditorConfig file for Ruby files
1 parent a8c9fb8 commit 05f54ab

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.editorconfig

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
; This file is for unifying the coding style for different editors and IDEs.
2+
; More information at http://EditorConfig.org
3+
4+
root = true
5+
6+
; Use 2 spaces for indentation in all Ruby files
7+
8+
[*.rb]
9+
indent_style = space
10+
indent_size = 2
11+
12+
[Rakefile]
13+
indent_style = space
14+
indent_size = 2
15+
16+
[Gemfile*]
17+
indent_style = space
18+
indent_size = 2
19+
20+
[config.ru]
21+
indent_style = space
22+
indent_size = 2

0 commit comments

Comments
 (0)