From faef589ef513ac26cbcda93c9b2e68fff664ae81 Mon Sep 17 00:00:00 2001 From: Phil Pirozhkov Date: Sun, 23 Aug 2020 00:23:17 +0300 Subject: [PATCH] Disable RedundantCopDisableDirective --- .rubocop.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 6855b9f9c..9ecb30191 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -37,6 +37,14 @@ Lint/InterpolationCheck: Exclude: - spec/**/*.rb +# When the `edge-rubocop` build is red, and we decide to disable the cop, +# the rest of the builds become red if the cop has not yet been released. +# Instead of waiting for RuboCop releases to make `edge-rubocop` green, +# we prefer keeping disable directives here and there and check if they +# are still needed once in a while. +Lint/RedundantCopDisableDirective + Enabled: false + Metrics/BlockLength: Exclude: - rubocop-rspec.gemspec