From: Tom Hughes Date: Sat, 7 May 2022 07:14:56 +0000 (+0100) Subject: Disable some Style/RedundantCondition corrections temporarily X-Git-Tag: live~1657 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/801283fbaa6d3ba59ca05ff222879539036d1435 Disable some Style/RedundantCondition corrections temporarily https://github.com/rubocop/rubocop/issues/10605 --- diff --git a/.rubocop.yml b/.rubocop.yml index 65db8a6a5..dc7590df3 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -96,6 +96,12 @@ Style/MixinUsage: - 'bin/setup' - 'bin/update' +Style/RedundantCondition: + Exclude: + - 'app/controllers/messages_controller.rb' + - 'app/controllers/sessions_controller.rb' + - 'app/controllers/users_controller.rb' + Style/StringLiterals: EnforcedStyle: double_quotes