From a57c8cd61650fe28874074d626e5c3cc579d9efc Mon Sep 17 00:00:00 2001 From: Richard Stewart Date: Sat, 13 Mar 2021 17:01:21 +0900 Subject: [PATCH] Suppress RuboCop offense Follow https://github.com/rubocop/rubocop/pull/9568. This PR suppresses the following offense. ```console % bundle exec rake (snip) Offenses: rubocop-performance.gemspec:28:5: W: [Correctable] Lint/RedundantCopDisableDirective: Unnecessary disabling of Layout/LineLength. # rubocop:disable Layout/LineLength ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 104 files inspected, 1 offense detected, 1 offense auto-correctable RuboCop failed! ``` --- rubocop-performance.gemspec | 2 -- 1 file changed, 2 deletions(-) diff --git a/rubocop-performance.gemspec b/rubocop-performance.gemspec index 33ebe05..74872dc 100644 --- a/rubocop-performance.gemspec +++ b/rubocop-performance.gemspec @@ -25,9 +25,7 @@ Gem::Specification.new do |s| 'homepage_uri' => 'https://docs.rubocop.org/rubocop-performance/', 'changelog_uri' => 'https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md', 'source_code_uri' => 'https://github.com/rubocop/rubocop-performance/', - # rubocop:disable Layout/LineLength 'documentation_uri' => "https://docs.rubocop.org/rubocop-performance/#{RuboCop::Performance::Version.document_version}/", - # rubocop:enable Layout/LineLength 'bug_tracker_uri' => 'https://github.com/rubocop/rubocop-performance/issues' }