Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-03 08:38:50 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-03 08:38:50 +0300
commit647ff6240ef5e8256a44b126aa7573812d5e70b7 (patch)
treeb4a431759feb83b18eb88581b46b8e5321ff90fb /.rubocop.yml
parent7d48205c1a472c07969e4dc43965fa3090b84376 (diff)
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.'