Update dependency rubocop to v1.63.4
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| rubocop (source, changelog) | '1.61.0' -> '1.63.4' |
Release Notes
rubocop/rubocop (rubocop)
v1.63.4
Bug fixes
-
#12871: Fix an error for
rubocop -Vwhen.rubocop.ymlcontains ERB. ([@earlopain][]) -
#12862: Fix a false positive for
Style/RedundantLineContinuationwhen line continuations involvereturnwith a return value. ([@koic][]) -
#12664: Fix handling of
textDocument/diagnostic. ([@muxcmux][]) -
#12865: Fix Rails Cops, which weren't reporting any violations unless running with
bundle exec. ([@amomchilov][])
v1.63.3
Bug fixes
-
#12857: Fix false negatives for
Lint/UnreachableCodewhen using pattern matching. ([@koic][]) -
#12852: Fix an error for
Lint/EmptyFilein formatters when using cache. ([@earlopain][]) -
#12848: Fix an error that occurs in
RuboCop::Lockfilewhen the constant Bundler is uninitialized. ([@koic][])
Changes
v1.63.2
Bug fixes
-
#12843: Fix an error for
Lint/MixedCaseRangewhen a character betweenZandais used in the regexp range. ([@koic][]) -
#12846: Fix an error for
RuboCop::Lockfilewhen there is no Bundler environment. ([@koic][]) -
#12832: Fix an error for
Style/ArgumentsForwardingwhen using block arg in nested method definitions. ([@koic][]) -
#12841: Fix false negatives for
Lint/UnreachableLoopwhen using pattern matching. ([@koic][]) - #12835: Allow global offenses to be disabled by directive comments. ([@earlopain][])
Changes
v1.63.1
Bug fixes
-
#12828: Fix a false positive for
Lint/AssignmentInConditionif assigning inside a method call. ([@earlopain][]) -
#12823: Fixed "uninitialized constant
RuboCop::Lockfile::Bundler", caused when running RuboCop withoutbundler execon codebases that userubocop-rails. ([@amomchilov][])
v1.63.0
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][])
v1.62.1
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][]) -
#12755: Fix an exception for
RedundantCurrentDirectoryInPathin case ofrequire_relativewithout arguments. ([@viralpraxis][]) -
#12710: Fix a false negative for
Layout/EmptyLineAfterMagicCommentwhen the file is comments only. ([@earlopain][]) -
#12758: Fix false positives for
Layout/RedundantLineBreakwhen using&&or||after a backslash newline. ([@koic][]) -
#12763: Fix an infinite loop for
Style/MultilineMethodSignaturewhen there is a newline directly after the def keyword. ([@earlopain][]) -
#12774: Fix an infinite loop for
Style/RaiseArgswithEnforcedStyle: compactwhen passing more than 2 arguments toraise. ([@earlopain][]) -
#12663: Fix
Lint/Syntaxgetting disabled byrubocop:disable Lint/Syntax. ([@earlopain][]) - #12756: Only parse target Ruby from gemspec if array elements are strings. ([@davidrunger][])
Changes
-
#12730: Skip
LineLengthphase on--auto-gen-only-exclude. ([@sambostock][])
v1.62.0
New features
- #12600: Support Prism as a Ruby parser (experimental). ([@koic][])
-
#12725: Support
TargetRubyVersion 3.4(experimental). ([@koic][])
Bug fixes
-
#12746: Fix a false positive for
Lint/ToEnumArgumentswhen enumerator is created for another method in no arguments method definition. ([@koic][]) -
#12726: Fix a false positive for
Style/RedundantLineContinuationwhen using line concatenation and calling a method with keyword arguments without parentheses. ([@koic][]) -
#12738: Fix an error for
Style/Encodingwhen magic encoding with mixed case present. ([@koic][]) -
#12732: Fix error determining target Ruby when gemspec
required_ruby_versionis read from another file. ([@davidrunger][]) -
#12736: Fix invalid autocorrect in
Layout/SpaceInsideHashLiteralBraces. ([@bquorning][]) - #12667: Don't load excluded configuration. ([@jonas054][])
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
@rultor please, try to merge, since 4 checks have passed
@rultor please, try to merge, since 4 checks have passed
@yegor256 OK, I'll try to merge now. You can check the progress of the merge here
@rultor please, try to merge, since 4 checks have passed
@renovate[bot] @yegor256 Oops, I failed. You can see the full log here (spent 8min)
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 91.55%. Comparing base (
06590f5) to head (728648f).
Additional details and impacted files
@@ Coverage Diff @@
## master #1223 +/- ##
=======================================
Coverage 91.55% 91.55%
=======================================
Files 18 18
Lines 651 651
=======================================
Hits 596 596
Misses 55 55
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.