aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorTrey Hunner <treyhunner@gmail.com>2012-02-26 11:08:16 -0800
committerTrey Hunner <treyhunner@gmail.com>2012-02-26 11:08:16 -0800
commit05f54ab16b167656fb58b1f6503296dd44518132 (patch)
treeb1120320d8d1849b9123909ee9d987d052800674 /.editorconfig
parenta8c9fb8d7a8847c0752599aa611d5718ec901ccb (diff)
downloadmy_new_personal_website-05f54ab16b167656fb58b1f6503296dd44518132.tar.xz
my_new_personal_website-05f54ab16b167656fb58b1f6503296dd44518132.zip
Add EditorConfig file for Ruby files
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000..d359ca6f
--- /dev/null
+++ b/.editorconfig
@@ -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