From 7ee9b8e758cb4557afb083b78e56b39f16c0dc57 Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Mon, 30 May 2016 12:18:27 +0200 Subject: Enable Style/MultilineIfThen rubocop cop Do not use then for multi-line if. See #7478. --- .rubocop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.rubocop.yml') 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. -- cgit v1.2.3