rbs
rbs copied to clipboard
Bump rubocop from 1.62.0 to 1.62.1
Bumps rubocop from 1.62.0 to 1.62.1.
Release notes
Sourced from rubocop's releases.
RuboCop 1.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)
Changelog
Sourced from rubocop's changelog.
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][])- #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][])
Commits
ed9b69eCut 1.62.1a99fe78Update Changelogeceedb7Fix an error forLint/UselessTimeswhen no block is present8d2ef48Fix an infinite loop forStyle/RaiseArgswithEnforcedStyle: compactwhen...bb0dd97Merge pull request #12771 from Earlopain/node-matcher-directive-followup9b39a55Merge pull request #12773 from Earlopain/fix-error-for-style-for409c5a0Merge pull request #12772 from Earlopain/fix-error-for-style-class-vars54dbee1Fix an error forStyle/ForwithEnforcedStyle: forwhen no receiver94c17b8Fix an error forStyle/ClassVarswhen callingclass_variable_setwithout ...5ee786dMerge pull request #12770 from Earlopain/fix-an-error-for-lint-redundant-with...- 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)