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:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-30 13:18:27 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-05-30 13:18:27 +0300
commit7ee9b8e758cb4557afb083b78e56b39f16c0dc57 (patch)
treea15621ab34d29aa76e8d47f56d5e59bcc890d17b /.rubocop.yml
parent43c35b0f20fb3bb67ea2b96bf8f806c7e95b6aec (diff)
Enable Style/MultilineIfThen 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.