draupnir
draupnir copied to clipboard
Bump rubocop from 1.31.2 to 1.63.0
Bumps rubocop from 1.31.2 to 1.63.0.
Release notes
Sourced from rubocop's releases.
RuboCop 1.63
New features
- #11878: Add new
Style/MapIntoArraycop. (@ymap)- #12186: Add new
requires_gemAPI for declaring which gems a Cop needs. (@amomchilov)Bug fixes
- #12769: Fix a false positive for
Lint/RedundantWithIndexwhen callingwith_indexwith receiver and a block. (@koic)- #12547: Added a comment recommending upgrading to the latest version of Rubocop in the error text when an Infinite loop detected error occurs. (
@Hiroto-Iizuka)- #12782: Fix an error for
Style/AliaswithEnforcedStyle: prefer_aliaswhen callingalias_methodwith fewer than 2 arguments. (@earlopain)- #12781: Fix an error for
Style/ExactRegexpMatchwhen callingmatchwithout a receiver. (@earlopain)- #12780: Fix an error for
Style/RedundantEachwhen usingreverse_each.eachwithout a block. (@earlopain)- #12731: Treat
&.the same way as.for setter methods inLint/AssignmentInCondition. (@jonas054)- #12793: Fix false positives for
Style/RedundantLineContinuationwhen using line continuation with modifier. (@koic)- #12807: Fix false positives for
Naming/BlockForwardingwhen using explicit block forwarding in block method and others. (@koic)- #12796: Fix false positives for
Style/EvalWithLocationwhen usingevalwith a line number from a method call or a variable. (@koic)- #12794: Fix false positives for
Style/RedundantArgumentwhen when single-quoted strings for cntrl character. (@koic)- #12797: Fix false positives for
Style/RedundantLineContinuationwhen using line continuations with&&or||operator in assignment. (@koic)- #12793: Fix false positives for
Style/RedundantLineContinuationwhen multi-line continuations with operators. (@koic)- #12801: Fix incorrect autocorrect for
Style/CollectionCompactwhen usingdelete_if. (@koic)- #12789: Make
Style/RedundantPercentQsafe on multiline strings. (@boardfish)- #12802: Return global offenses for
Naming/FileNameandNaming/InclusiveLanguagefor empty files. (@earlopain)- #12804: Return global offenses for
Style/Copyrightwhen the file is empty. (@earlopain)Changes
- #12813: Add rubocop-rspec_rails to suggested extensions and extension doc. (
@ydah)- #12820: Add support more Capybara debugger entry points for
Lint/Debugger. (@ydah)- #12676: Adjust offending range in LSP. (
@koic)- #12815: Ignore
Rakefile.rbinNaming/FileNamein the default config. (@artur-intech)- #12800: Handle empty obsoletion config. (
@sambostock)- #12721: Make
Lint/Debuggeraware ofruby/debugrequires. (@earlopain)- #12817: Make
rubocop -Vdisplay rubocop-rspec_rails version when using it. (@ydah)- #12180: Replace regex with
Bundler::LockfileParser. (@amomchilov)RuboCop 1.62.1
Bug fixes
... (truncated)
Changelog
Sourced from rubocop's changelog.
1.63.0 (2024-04-08)
New features
- #11878: Add new
Style/MapIntoArraycop. ([@ymap][])- #12186: Add new
requires_gemAPI for declaring which gems a Cop needs. ([@amomchilov][])Bug fixes
- #12769: Fix a false positive for
Lint/RedundantWithIndexwhen callingwith_indexwith receiver and a block. ([@koic][])- #12547: Added a comment recommending upgrading to the latest version of Rubocop in the error text when an Infinite loop detected error occurs. ([
@Hiroto-Iizuka][])- #12782: Fix an error for
Style/AliaswithEnforcedStyle: prefer_aliaswhen callingalias_methodwith fewer than 2 arguments. ([@earlopain][])- #12781: Fix an error for
Style/ExactRegexpMatchwhen callingmatchwithout a receiver. ([@earlopain][])- #12780: Fix an error for
Style/RedundantEachwhen usingreverse_each.eachwithout a block. ([@earlopain][])- #12731: Treat
&.the same way as.for setter methods inLint/AssignmentInCondition. ([@jonas054][])- #12793: Fix false positives for
Style/RedundantLineContinuationwhen using line continuation with modifier. ([@koic][])- #12807: Fix false positives for
Naming/BlockForwardingwhen using explicit block forwarding in block method and others. ([@koic][])- #12796: Fix false positives for
Style/EvalWithLocationwhen usingevalwith a line number from a method call or a variable. ([@koic][])- #12794: Fix false positives for
Style/RedundantArgumentwhen when single-quoted strings for cntrl character. ([@koic][])- #12797: Fix false positives for
Style/RedundantLineContinuationwhen using line continuations with&&or||operator in assignment. ([@koic][])- #12793: Fix false positives for
Style/RedundantLineContinuationwhen multi-line continuations with operators. ([@koic][])- #12801: Fix incorrect autocorrect for
Style/CollectionCompactwhen usingdelete_if. ([@koic][])- #12789: Make
Style/RedundantPercentQsafe on multiline strings. ([@boardfish][])- #12802: Return global offenses for
Naming/FileNameandNaming/InclusiveLanguagefor empty files. ([@earlopain][])- #12804: Return global offenses for
Style/Copyrightwhen the file is empty. ([@earlopain][])Changes
- #12813: Add rubocop-rspec_rails to suggested extensions and extension doc. ([
@ydah][])- #12820: Add support more Capybara debugger entry points for
Lint/Debugger. ([@ydah][])- #12676: Adjust offending range in LSP. ([
@koic][])- #12815: Ignore
Rakefile.rbinNaming/FileNamein the default config. ([@artur-intech][])- #12800: Handle empty obsoletion config. ([
@sambostock][])- #12721: Make
Lint/Debuggeraware ofruby/debugrequires. ([@earlopain][])- #12817: Make
rubocop -Vdisplay rubocop-rspec_rails version when using it. ([@ydah][])- #12180: Replace regex with
Bundler::LockfileParser. ([@amomchilov][])1.62.1 (2024-03-11)
Bug fixes
- #12761: Fix a false positive for
Style/HashEachMethodswhen the key block argument ofEnumerable#eachmethod is unused afterchunk. ([@koic][])- #12768: Fix a false positive for
Style/NilComparisonwithout receiver andEnforcedStyle: comparison. ([@earlopain][])- #12752: Fix an error for
Gemspec/RequiredRubyVersionwhen the file is empty. ([@earlopain][])- #12770: Fix an error for
Lint/RedundantWithIndexwhen the method has no receiver. ([@earlopain][])- #12775: Fix an error for
Lint/UselessTimeswhen no block is present. ([@earlopain][])- #12772: Fix an error for
Style/ClassVarswhen callingclass_variable_setwithout arguments. ([@earlopain][])- #12773: Fix an error for
Style/ForwithEnforcedStyle: forwhen no receiver. ([@earlopain][])- #12765: Fix an error for
Layout/MultilineMethodCallIndentationwith safe navigation and assignment method. ([@earlopain][])- #12703: Fix an error for
Lint/MixedCaseRangewith invalid byte sequence in UTF-8. ([@earlopain][])
... (truncated)
Commits
55df9e2Cut 1.63752d351Update Changeloge73274b[Fix #11878] Add newStyle/MapIntoArraycopebcc72aFix rubocop#12547 : fix text7d42542Fix rubocop#12547 : drop the quotes around the URLd00285cFix rubocop#12547 : add a changelogefc9bd2Fix rubocop#12547 : fix rspecde82525Fix rubocop#12547 : Added comment with suggestion to bring Rubocop up to the ...c1f28f2Run tests with Prism 0.25+f0e475aMerge pull request #12816 from artur-intech/master- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)