summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-30 12:18:27 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-30 12:18:27 +0200
commit7ee9b8e758cb4557afb083b78e56b39f16c0dc57 (patch)
treea15621ab34d29aa76e8d47f56d5e59bcc890d17b /.rubocop.yml
parent43c35b0f20fb3bb67ea2b96bf8f806c7e95b6aec (diff)
downloadgitlab-ce-7ee9b8e758cb4557afb083b78e56b39f16c0dc57.tar.gz
Enable Style/MultilineIfThen rubocop copstyle/enable-multiline-if-then-rubocop-cop
Do not use then for multi-line if. See #7478.
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 2d8eb4077f3..5cbed9a4d3d 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -362,7 +362,7 @@ Style/MultilineHashBraceLayout:
# Do not use then for multi-line if/unless.
Style/MultilineIfThen:
- Enabled: false
+ Enabled: true
# Checks that the closing brace in a method call is either on the same line as
# the last method argument, or a new line.