summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-02 21:38:50 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-02 21:38:50 -0800
commit647ff6240ef5e8256a44b126aa7573812d5e70b7 (patch)
treeb4a431759feb83b18eb88581b46b8e5321ff90fb /.rubocop.yml
parent7d48205c1a472c07969e4dc43965fa3090b84376 (diff)
downloadgitlab-ce-647ff6240ef5e8256a44b126aa7573812d5e70b7.tar.gz
Rubocop: Style/ElseAlignment enabled
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 369e55abcdb..c14303ab1f8 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -145,7 +145,7 @@ Style/CommentIndentation:
Style/ConstantName:
Description: 'Constants should use SCREAMING_SNAKE_CASE.'
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#screaming-snake-case'
- Enabled: false
+ Enabled: true
Style/DefWithParentheses:
Description: 'Use def with parentheses when there are arguments.'
@@ -177,7 +177,7 @@ Style/EachWithObject:
Style/ElseAlignment:
Description: 'Align elses and elsifs correctly.'
- Enabled: false
+ Enabled: true
Style/EmptyElse:
Description: 'Avoid empty else-clauses.'