Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 13, 2026

Bumps rubocop from 1.82.1 to 1.84.2.

Release notes

Sourced from rubocop's releases.

RuboCop v1.84.2

Bug fixes

  • #14854: Fix a clobbering error in Style/BlockDelimiters when autocorrecting nested multi-line blocks with adjacent curly braces. (@​koic)
  • #14837: Fix an error for Style/IfUnlessModifier when the first value uses a normal if and the others use modifier if. (@​koic)
  • #14858: Fix an infinite loop error in Layout/FirstArgumentIndentation when first arguments are over-indented in nested method calls. (@​koic)
  • #14843: Fix an error in Layout/MultilineMethodCallIndentation when a multiline method call follows a hash access. (@​koic)
  • #14859: Fix an error in Layout/MultilineMethodCallIndentation when a multiline method call includes a keyword argument whose value is a method call with a block. (@​koic)
  • #14839: Fix a false positive for Layout/EmptyLinesAfterModuleInclusion when include is nested inside an array. (@​eugeneius)
  • #7436: Fix Style/FormatStringToken to not autocorrect strings outside of format method context in aggressive mode. (@​ydakuka)
  • #14841: Fix false negatives in Style/HashAsLastArrayItem when an array contains only a single hash element. (@​koic)
  • #14865: Fix false negatives in Style/MethodDefParentheses when using splat or forwarding arguments without parentheses. (@​koic)
  • #14833: Fix false positive for Layout/MultilineMethodCallIndentation when a multi-dot method chain is inside a hash pair value. (@​ydakuka)
  • #14847: Fix false positive for Layout/MultilineMethodCallIndentation when a method is chained after a single-line block. (@​ydakuka)
  • #14867: Fix Offense#highlighted_area for PseudoSourceRange locations. (@​rafaelfranca)
  • #14861: Fix an error in Style/IfUnlessModifier when the first value uses a normal if and the others use ternary operator. (@​koic)
  • #14816: Use toplevel cache configs for remote configuration files. (@​nekketsuuu)

RuboCop v1.84.1

Bug fixes

  • #14803: Fix an error for Layout/IndentationWidth cop. (@​viralpraxis)
  • #14806: Fix an error in Style/NegativeArrayIndex when using self as array with implicit self receiver. (@​koic)
  • #14813: Fix opt-in cop comments taking precedence over configuration file exclude patterns. (@​afrase)
  • #14819: Fix incorrect autocorrect for Style/GuardClause when using heredoc as an argument of method call in raise in else branch. (@​koic)
  • #14805: Bring back the original indentation from before version 1.84.0. (@​Magikdidi24)
  • #12754: Fix an infinite loop for Style/IfUnlessModifier when multiple if/unless statements share the same line in arrays, method arguments, or hash values. (@​ydakuka)
  • #14817: Fix an infinite loop between Layout/FirstArgumentIndentation and Layout/LineLength when correcting method chains. (@​ydakuka)
  • #11513: Fix Layout/MultilineMethodCallIndentation to properly handle method chains inside hash pair values. (@​ydakuka)
  • #14814: Fix push/pop directives to properly handle nested scopes and state restoration. (@​Magikdidi24)

Changes

  • #14823: Add the built-in infinite? method to the allowlists for Naming/PredicateMethod, Style/IfWithBooleanLiteralBranches, and Style/RedundantCondition, in addition to the existing nonzero?. (@​koic)
  • #14735: Remove deprecated InjectDefaults handling. (@​afurm)

RuboCop v1.84.0

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.84.2 (2026-02-12)

Bug fixes

  • #14854: Fix a clobbering error in Style/BlockDelimiters when autocorrecting nested multi-line blocks with adjacent curly braces. ([@​koic][])
  • #14837: Fix an error for Style/IfUnlessModifier when the first value uses a normal if and the others use modifier if. ([@​koic][])
  • #14858: Fix an infinite loop error in Layout/FirstArgumentIndentation when first arguments are over-indented in nested method calls. ([@​koic][])
  • #14843: Fix an error in Layout/MultilineMethodCallIndentation when a multiline method call follows a hash access. ([@​koic][])
  • #14859: Fix an error in Layout/MultilineMethodCallIndentation when a multiline method call includes a keyword argument whose value is a method call with a block. ([@​koic][])
  • #14839: Fix a false positive for Layout/EmptyLinesAfterModuleInclusion when include is nested inside an array. ([@​eugeneius][])
  • #7436: Fix Style/FormatStringToken to not autocorrect strings outside of format method context in aggressive mode. ([@​ydakuka][])
  • #14841: Fix false negatives in Style/HashAsLastArrayItem when an array contains only a single hash element. ([@​koic][])
  • #14865: Fix false negatives in Style/MethodDefParentheses when using splat or forwarding arguments without parentheses. ([@​koic][])
  • #14833: Fix false positive for Layout/MultilineMethodCallIndentation when a multi-dot method chain is inside a hash pair value. ([@​ydakuka][])
  • #14847: Fix false positive for Layout/MultilineMethodCallIndentation when a method is chained after a single-line block. ([@​ydakuka][])
  • #14867: Fix Offense#highlighted_area for PseudoSourceRange locations. ([@​rafaelfranca][])
  • #14861: Fix an error in Style/IfUnlessModifier when the first value uses a normal if and the others use ternary operator. ([@​koic][])
  • #14816: Use toplevel cache configs for remote configuration files. ([@​nekketsuuu][])

1.84.1 (2026-02-02)

Bug fixes

  • #14803: Fix an error for Layout/IndentationWidth cop. ([@​viralpraxis][])
  • #14806: Fix an error in Style/NegativeArrayIndex when using self as array with implicit self receiver. ([@​koic][])
  • #14813: Fix opt-in cop comments taking precedence over configuration file exclude patterns. ([@​afrase][])
  • #14819: Fix incorrect autocorrect for Style/GuardClause when using heredoc as an argument of method call in raise in else branch. ([@​koic][])
  • #14805: Bring back the original indentation from before version 1.84.0. ([@​Magikdidi24][])
  • #12754: Fix an infinite loop for Style/IfUnlessModifier when multiple if/unless statements share the same line in arrays, method arguments, or hash values. ([@​ydakuka][])
  • #14817: Fix an infinite loop between Layout/FirstArgumentIndentation and Layout/LineLength when correcting method chains. ([@​ydakuka][])
  • #11513: Fix Layout/MultilineMethodCallIndentation to properly handle method chains inside hash pair values. ([@​ydakuka][])
  • #14814: Fix push/pop directives to properly handle nested scopes and state restoration. ([@​Magikdidi24][])

Changes

  • #14823: Add the built-in infinite? method to the allowlists for Naming/PredicateMethod, Style/IfWithBooleanLiteralBranches, and Style/RedundantCondition, in addition to the existing nonzero?. ([@​koic][])
  • #14735: Remove deprecated InjectDefaults handling. ([@​afurm][])

1.84.0 (2026-01-27)

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

... (truncated)

Commits
  • b210a6e Cut 1.84.2
  • b2e355b Update Changelog
  • c7a3c5e [Fix rubocop#7436] Fix Style/FormatStringToken to not autocorrect strings o...
  • 87b0ca4 [Fix rubocop#14847] Fix false positive for `Layout/MultilineMethodCallIndenta...
  • 429b640 [Fix rubocop#14833] Fix false positive for `Layout/MultilineMethodCallIndenta...
  • d1bf379 [Fix #14841] Fix false negatives in Style/HashAsLastArrayItem
  • a1157d2 [Fix #14816] Use toplevel cache configs for remote configuration files
  • 7849c22 Update changelog/fix_offense_highlighted_area_for_pseudo_source_range_locatio...
  • 1f8e439 Fix Offense#highlighted_area for PseudoSourceRange locations
  • 99422a0 [Fix #14858] Fix an error in Layout/FirstArgumentIndentation
  • 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 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.82.1 to 1.84.2.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.82.1...v1.84.2)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.84.2
  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 Feb 13, 2026
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.

0 participants