aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorParker Moore <parkrmoore@gmail.com>2013-03-05 14:52:02 -0800
committerParker Moore <parkrmoore@gmail.com>2013-03-05 14:52:02 -0800
commit880b0fbdac22491839d5de9d059ad924bb636933 (patch)
treeee1c72303ee40d274f0b76e55358dd2e5a93e294 /.editorconfig
parent7f4cf2554643242d88d87b53378a75ba59186660 (diff)
parent0996e56f761e76f64f505723cc5a8c3688683cae (diff)
downloadmy_new_personal_website-880b0fbdac22491839d5de9d059ad924bb636933.tar.xz
my_new_personal_website-880b0fbdac22491839d5de9d059ad924bb636933.zip
Merge pull request #452 from treyhunner/topic/editorconfig
Add EditorConfig files to define indentation styles
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