Browse Source

Add EditorConfig file for Ruby files

Trey Hunner 7 years ago
parent
commit
05f54ab16b
1 changed files with 22 additions and 0 deletions
  1. 22
    0
      .editorconfig

+ 22
- 0
.editorconfig View File

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

Loading…
Cancel
Save