Skip to content

Commit cb85669

Browse files
committed
Disable RedundantCopDisableDirective
1 parent 996a812 commit cb85669

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.rubocop.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ Lint/InterpolationCheck:
3737
Exclude:
3838
- spec/**/*.rb
3939

40+
# When the `edge-rubocop` build is red, and we decide to disable the cop,
41+
# the rest of the builds become red if the cop has not yet been released.
42+
# Instead of waiting for RuboCop releases to make `edge-rubocop` green,
43+
# we prefer keeping disable directives here and there and check if they
44+
# are still needed once in a while.
45+
Lint/RedundantCopDisableDirective:
46+
Enabled: false
47+
4048
Metrics/BlockLength:
4149
Exclude:
4250
- rubocop-rspec.gemspec

0 commit comments

Comments
 (0)