Skip to content

Bump rubocop from 1.24.1 to 1.42.0 - #1047

Merged
amatsuda merged 2 commits into
simplecov-ruby:mainfrom
ydah:update-rubocop
Jul 4, 2023
Merged

amatsuda merged 2 commits into
simplecov-ruby:mainfrom
ydah:update-rubocop

Conversation

@ydah

@ydah ydah commented Jan 2, 2023

Copy link
Copy Markdown
Contributor

This PR is bump rubocop from 1.24.1 to 1.42.0.
And correct new offense.

Offenses:

lib/simplecov/source_file.rb:89:13: C: [Corrected] Style/ZeroLengthPredicate: Use empty? instead of length.zero?.
      lines.length.zero? || (lines.length == never_lines.size)
            ^^^^^^^^^^^^

110 files inspected, 1 offense detected, 1 offense corrected

@amatsuda
amatsuda merged commit 53ad283 into simplecov-ruby:main Jul 4, 2023
@ydah
ydah deleted the update-rubocop branch July 5, 2023 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants