Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 28, 2025

Bumps rubocop from 1.81.7 to 1.82.1.

Release notes

Sourced from rubocop's releases.

RuboCop v1.82.1

Bug fixes

  • #14736: Fix an error for Style/TrailingCommaInArguments when EnforcedStyleForMultiline is consistent_comma and keyword arguments use a trailing comma. (@​koic)
  • #14737: Fix crash in Layout/RedundantLineBreak when Layout/LineLength is disabled. (@​ydakuka)
  • #14719: Fix crash on long lines when Layout/LineLength is disabled. (@​floriandejonckheere)
  • #14743: Fix false positives for Layout/MultilineMethodCallIndentation when multiline method chain with block has expected indent width and the method is preceded by splat or double splat. (@​koic)
  • #12297: Fix false negative in Layout/IndentationWidth for multiline method chain blocks. (@​rscq)
  • #14730: Fix the cache implementation to use consistent cache keys across workers. (@​byroot)
  • #14559: Fix false positives for Lint/UselessAssignment when a variable is assigned in loop body and used in loop condition. (@​ydakuka)

RuboCop v1.82.0

New features

  • #14655: Add AllowRBSInlineAnnotation option to Layout/LineLength. (@​koic)
  • #14569: Add IncludedMacroPatterns configuration option to Style/MethodCallWithArgsParentheses for pattern-based macro method enforcement. ([@​mmenanno][])
  • #14670: Add new cop Style/ModuleMemberExistenceCheck. ([@​lovro-bikic][])
  • #14644: Support TargetRubyVersion 4.0 (experimental). (@​koic)

Bug fixes

  • #14649: Fix an error for Lint/LiteralAsCondition when there are literals in multiple branches. ([@​viralpraxis][])
  • #14678: Fix an error when running deprecated rake rubocop:auto_correct task. (@​koic)
  • #14650: Fix wrong autocorrect for Lint/RedundantSplatExpansion when splatting a single literal. ([@​earlopain][])
  • #14703: Fix false negatives for Layout/RescueEnsureAlignment when using self class definition. (@​koic)
  • #14706: Fix false negatives for Lint/NoReturnInBeginEndBlocks when assigning instance variable, class variable, global variable, or constant. (@​koic)
  • #14715: Fix false positives for Layout/EmptyLineAfterGuardClause when a guard clause follows a multiline heredoc in a parenthesized method call. (@​koic)
  • #14667: Fix false positives for Layout/EndAlignment when a conditional assignment is used on the same line and the end with a safe navigation method call is aligned. (@​koic)
  • #14688: Fix false positives for Layout/EndAlignment when a conditional assignment is used on the same line and the end with a numbered block or it block method call is aligned. (@​koic)
  • #14699: Fix false positives for Lint/RedundantSafeNavigation when the receiver is used outside the singleton method definition scope. (@​koic)
  • #14663: Fix false positives for Style/EndlessMethod when multiline or xstring heredoc is used in method body. (@​koic)
  • #10173: Fix false positives for Style/TrailingCommaInArguments when EnforcedStyleForMultiline is set to consistent_comma and a multiline braced hash argument appears after another argument. (@​koic)
  • #14680: Handle all OptionParser errors when running rubocop with input that causes an error. ([@​dvandersluis][])
  • #14658: Fix incorrect behavior when Layout/LineLength is disabled. (@​koic)
  • #14704: Fix incorrect Position character value in LSP. ([@​tmtm][])
  • #14619: Store remote configuration caches in cache root. ([@​Jack12816][])
  • #14476: Fix Style/ClassAndModuleChildren to skip compact style definitions inside another class or module when EnforcedStyle: nested. (@​rscq)
  • #14281: Update Layout/EndAlignment with EnforcedStyleAlignWith: variable to handle conditionals inside begin nodes properly. ([@​dvandersluis][])

Changes

  • #14662: Add autocorrection for Lint/UselessOr. ([@​r7kamura][])
  • #14668: Exclude Severity from configuration parameters. ([@​r7kamura][])
  • #14684: Make Style/CaseEquality allow regexp case equality where the receiver is a regexp literal. (@​koic)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.82.1 (2025-12-24)

Bug fixes

  • #14736: Fix an error for Style/TrailingCommaInArguments when EnforcedStyleForMultiline is consistent_comma and keyword arguments use a trailing comma. ([@​koic][])
  • #14737: Fix crash in Layout/RedundantLineBreak when Layout/LineLength is disabled. ([@​ydakuka][])
  • #14719: Fix crash on long lines when Layout/LineLength is disabled. ([@​floriandejonckheere][])
  • #14743: Fix false positives for Layout/MultilineMethodCallIndentation when multiline method chain with block has expected indent width and the method is preceded by splat or double splat. ([@​koic][])
  • #12297: Fix false negative in Layout/IndentationWidth for multiline method chain blocks. ([@​rscq][])
  • #14730: Fix the cache implementation to use consistent cache keys across workers. ([@​byroot][])
  • #14559: Fix false positives for Lint/UselessAssignment when a variable is assigned in loop body and used in loop condition. ([@​ydakuka][])

1.82.0 (2025-12-17)

New features

  • #14655: Add AllowRBSInlineAnnotation option to Layout/LineLength. ([@​koic][])
  • #14569: Add IncludedMacroPatterns configuration option to Style/MethodCallWithArgsParentheses for pattern-based macro method enforcement. ([@​mmenanno][])
  • #14670: Add new cop Style/ModuleMemberExistenceCheck. ([@​lovro-bikic][])
  • #14644: Support TargetRubyVersion 4.0 (experimental). ([@​koic][])

Bug fixes

  • #14649: Fix an error for Lint/LiteralAsCondition when there are literals in multiple branches. ([@​viralpraxis][])
  • #14678: Fix an error when running deprecated rake rubocop:auto_correct task. ([@​koic][])
  • #14650: Fix wrong autocorrect for Lint/RedundantSplatExpansion when splatting a single literal. ([@​earlopain][])
  • #14703: Fix false negatives for Layout/RescueEnsureAlignment when using self class definition. ([@​koic][])
  • #14706: Fix false negatives for Lint/NoReturnInBeginEndBlocks when assigning instance variable, class variable, global variable, or constant. ([@​koic][])
  • #14715: Fix false positives for Layout/EmptyLineAfterGuardClause when a guard clause follows a multiline heredoc in a parenthesized method call. ([@​koic][])
  • #14667: Fix false positives for Layout/EndAlignment when a conditional assignment is used on the same line and the end with a safe navigation method call is aligned. ([@​koic][])
  • #14688: Fix false positives for Layout/EndAlignment when a conditional assignment is used on the same line and the end with a numbered block or it block method call is aligned. ([@​koic][])
  • #14699: Fix false positives for Lint/RedundantSafeNavigation when the receiver is used outside the singleton method definition scope. ([@​koic][])
  • #14663: Fix false positives for Style/EndlessMethod when multiline or xstring heredoc is used in method body. ([@​koic][])
  • #10173: Fix false positives for Style/TrailingCommaInArguments when EnforcedStyleForMultiline is set to consistent_comma and a multiline braced hash argument appears after another argument. ([@​koic][])
  • #14680: Handle all OptionParser errors when running rubocop with input that causes an error. ([@​dvandersluis][])
  • #14658: Fix incorrect behavior when Layout/LineLength is disabled. ([@​koic][])
  • #14704: Fix incorrect Position character value in LSP. ([@​tmtm][])
  • #14619: Store remote configuration caches in cache root. ([@​Jack12816][])
  • #14476: Fix Style/ClassAndModuleChildren to skip compact style definitions inside another class or module when EnforcedStyle: nested. ([@​rscq][])
  • #14281: Update Layout/EndAlignment with EnforcedStyleAlignWith: variable to handle conditionals inside begin nodes properly. ([@​dvandersluis][])

Changes

  • #14662: Add autocorrection for Lint/UselessOr. ([@​r7kamura][])
  • #14668: Exclude Severity from configuration parameters. ([@​r7kamura][])
  • #14684: Make Style/CaseEquality allow regexp case equality where the receiver is a regexp literal. ([@​koic][])
  • #14645: Change Lint/CircularArgumentReference to detect offenses within long assignment chains. ([@​viralpraxis][])
  • #14642: Make Gemspec/RubyVersionGlobalsUsage aware of Ruby::VERSION. ([@​koic][])
  • #14695: Make Layout/EmptyLineAfterMagicComment aware of # rbs_inline magic comment. ([@​koic][])
  • #10147: Make Lint/ElseLayout allow a single-line else body in then single-line conditional. ([@​koic][])

... (truncated)

Commits
  • 5711dcb Cut 1.82.1
  • 4918002 Update Changelog
  • 0479119 [Fix rubocop#14559] Fix false positives for Lint/UselessAssignment when a v...
  • 990121b Optimize cache cleanup routine
  • e06d0c1 [Fix #14743] Fix false positives for Layout/MultilineMethodCallIndentation
  • a6e4adf Merge pull request #14742 from ydakuka/14737/fix_crash_in_layout_redundant_li...
  • 1873836 [Fix rubocop#14737] Fix crash in Layout/RedundantLineBreak when `Layout/Lin...
  • bb2fb48 Merge pull request #14738 from koic/fix_an_error_for_style_trailing_comma_in_...
  • d08ff2e [Fix #14736] Fix an error for Style/TrailingCommaInArguments
  • edca36e Merge pull request #14725 from viralpraxis/fix-layout-line-length-cop-error-i...
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.81.7 to 1.82.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.81.7...v1.82.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.82.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Dec 28, 2025
@github-actions github-actions bot enabled auto-merge December 28, 2025 18:01
@github-actions github-actions bot merged commit df58976 into master Dec 28, 2025
3 checks passed
@github-actions github-actions bot deleted the dependabot/bundler/rubocop-1.82.1 branch December 28, 2025 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant