Skip to content

Commit

Permalink
Suppress RuboCop offense
Browse files Browse the repository at this point in the history
Follow rubocop/rubocop#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!
```
  • Loading branch information
richardstewart0213 committed Mar 13, 2021
1 parent 6f7d15b commit a57c8cd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rubocop-performance.gemspec
Expand Up @@ -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'
}

Expand Down

0 comments on commit a57c8cd

Please sign in to comment.