diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-05-30 12:18:27 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-05-30 12:18:27 +0200 |
commit | 7ee9b8e758cb4557afb083b78e56b39f16c0dc57 (patch) | |
tree | a15621ab34d29aa76e8d47f56d5e59bcc890d17b /.rubocop.yml | |
parent | 43c35b0f20fb3bb67ea2b96bf8f806c7e95b6aec (diff) | |
download | gitlab-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.yml | 2 |
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. |