Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 17, 2025

This PR contains the following updates:

Package Change Age Confidence
rubocop (source, changelog) '~> 1.81.0''~> 1.84.0' age confidence

Release Notes

rubocop/rubocop (rubocop)

v1.84.0

Compare Source

New features
  • #​14516: Add AllowImplicitArrayLiterals to Layout/FirstArrayElementLineBreak. ([@​koic][])
  • #​14750: Add new Style/ReverseFind cop. ([@​koic][])
  • #​12343: Add new Style/EmptyClassDefinition cop to enforce consistent style for empty class definitions. The cop can enforce either a two-line class definition or Class.new for classes with no body. ([@​ydakuka][])
  • #​14769: Add new Style/HashLookupMethod cop to enforce Hash#[] vs Hash#fetch preference. ([@​sferik][])
  • #​12051: Add new Style/NegativeArrayIndex cop to enforce using negative array indices instead of calculating array length minus a value. The cop handles both simple index patterns and range patterns, and recognizes preserving methods and their combinations. ([@​ydakuka][])
  • #​14633: Make a new system to handle push and pop locally. ([@​Magikdidi24][])
  • #​14722: Support TargetRubyVersion 4.1 (experimental). ([@​koic][])
Bug fixes
  • #​14697: Allow non-method calls in Categories for Layout/ClassStructure. ([@​fatkodima][])
  • #​14784: Fix an error for Style/GuardClause when using heredoc as an argument of raise in else branch and if branch is empty. ([@​koic][])
  • #​14790: Fix an error for Style/HashLookupMethod cop when there's no receiver. ([@​viralpraxis][])
  • #​14779: Fix autocorrect crash with ruby_extractor when using offset: 0 and different source buffers. ([@​ydakuka][])
  • #​14762: Fix false negatives for Style/RedundantCondition when the branches contains constant assignment. ([@​koic][])
  • #​14751: Fix --force-default-config not preventing project config loading when used with options that access configuration. ([@​sakuro][])
  • #​14783: Fix incorrect autocorrect for Style/HashSyntax when shorthand syntax is used in condition of if/unless/while/until. ([@​ydakuka][])
  • #​14747: Fix a regression inLayout/IndentationWidth by adding a new EnforcedStyleAlignWith style parameter. ([@​MikeMcQuaid][])
  • #​14716: Fix an infinite loop error for Layout/LineLength when SplitStrings option is enabled and strings span multiple lines. ([@​HariprasanthMSH][])
  • #​14763: Fix an infinite loop error for Layout/IndentationWidth and Layout/IndentationConsistency when using EnforcedStyle: indented_internal_methods with method chain blocks. ([@​ydakuka][])
  • #​9373: Fix an infinite loop error for Layout/IndentationWidth when autocorrecting mixed tabs and spaces in blocks. Fix an infinite loop error for Layout/DefEndAlignment and Layout/IndentationStyle when autocorrecting mixed tabs and spaces. Autocorrection for tabs is disabled in AlignmentCorrector for indentation offenses, but enabled for align_end. ([@​ydakuka][])
  • #​12295: Fix Layout/FirstArgumentIndentation to correct entire method calls and chains for nested calls. ([@​ydakuka][])
  • #​12527: Fix Offense#highlighted_area to return a valid Parser::Source::Range. ([@​ydakuka][])
  • #​14801: Preserve source tabs in Clang and Tap formatters when displaying offense highlight. ([@​lovro-bikic][])
  • #​14761: Improved the remote configuration file name on the cache location. ([@​Jack12816][])
  • #​14778: Fix a false positive for Security/JSONLoad when create_additions option is passed with other options in a hash. ([@​wktk][])
  • #​14796: Handle logical and operator assignment nodes in variable branch handling. ([@​lovro-bikic][])
Changes

v1.82.1

Compare Source

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][])

v1.82.0

Compare Source

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][])
  • #​14661: Make Lint/RedundantRequireStatement aware of pathname when analyzing Ruby 4.0. ([@​koic][])
  • #​14698: Make Lint/UnreachableCode aware of singleton method redefinition. ([@​koic][])
  • #​14677: Make Style/RedundantArgument aware of to_i. ([@​koic][])
  • #​14660: Rename IgnoreCopDirectives to AllowCopDirectives in Layout/LineLength. ([@​koic][])
  • #​14492: Revert #​14492, which added support for LSP positionEncoding 'utf-8' and 'utf-32' due to critical performance regression reports. ([@​koic][])

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 was generated by Mend Renovate. View the repository job log.

@op-ct op-ct added this to Org Triage Dec 17, 2025
@renovate renovate bot force-pushed the renovate/rubocop-1.x branch from 76926dc to c1e6e50 Compare December 31, 2025 17:07
@renovate renovate bot changed the title Update dependency rubocop to '~> 1.82.0' chore(deps): update dependency rubocop to '~> 1.82.0' Jan 26, 2026
@renovate renovate bot changed the title chore(deps): update dependency rubocop to '~> 1.82.0' chore(deps): update dependency rubocop to '~> 1.84.0' Jan 27, 2026
@renovate renovate bot force-pushed the renovate/rubocop-1.x branch from c1e6e50 to 66971d5 Compare January 27, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

0 participants