diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-08-19 08:12:05 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-08-19 08:16:21 +0900 |
commit | b2c1e29c14b91b290b30c928c63253d1555e0fd9 (patch) | |
tree | 17b4573dbc9c4d4591985b45c0af3c9701666be6 /.rubocop.yml | |
parent | 9270c6d7fc09b3a1fbbb410f60b9d3829a406c07 (diff) | |
download | rails-b2c1e29c14b91b290b30c928c63253d1555e0fd9.tar.gz rails-b2c1e29c14b91b290b30c928c63253d1555e0fd9.tar.bz2 rails-b2c1e29c14b91b290b30c928c63253d1555e0fd9.zip |
Enable Style/ParenthesesAroundCondition cop
To prevent style check in review like https://github.com/rails/rails/pull/33608#discussion_r211087605.
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 3 |
1 files changed, 3 insertions, 0 deletions
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 |