From b2c1e29c14b91b290b30c928c63253d1555e0fd9 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Sun, 19 Aug 2018 08:12:05 +0900 Subject: Enable Style/ParenthesesAroundCondition cop To prevent style check in review like https://github.com/rails/rails/pull/33608#discussion_r211087605. --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.rubocop.yml') diff --git a/.rubocop.yml b/.rubocop.yml index f2aec3f430..a673e6ba83 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -176,6 +176,9 @@ Lint/StringConversionInInterpolation: Lint/UriEscapeUnescape: Enabled: true +Style/ParenthesesAroundCondition: + Enabled: true + Style/RedundantReturn: Enabled: true AllowMultipleReturnValues: true -- cgit v1.2.3