Skip to content

Update rubocop requirement from ~> 1.88.2 to ~> 1.89.0 - #294

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/rubocop-tw-1.89.0
Open

Update rubocop requirement from ~> 1.88.2 to ~> 1.89.0#294
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/rubocop-tw-1.89.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 7, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop v1.89.0

New features

  • #15492: Add AllCops/ProjectIndexIncludesGems for bundle-wide indexing. ([@鈥媌batsov][])
  • #15498: Add DelegatingMethods option to Lint/DuplicateMethods to register custom delegate-shaped methods. ([@鈥媌batsov][])
  • #15042: Add DisallowedCops configuration option to Style/DisableCopsWithinSourceCodeDirective. ([@鈥媓ammadxcm][])
  • #15441: Add new AllowYARDCommentBlockSeparator option to Layout/LeadingCommentSpace. ([@鈥媖oic][])
  • #15466: Add new Lint/DeprecatedReference cop to detect references to methods and constants documented as @deprecated, powered by the project index. ([@鈥媌batsov][])
  • #15491: Add new Lint/NameTypo cop. ([@鈥媌batsov][])
  • #15468: Add new Lint/UnusedPrivateMethod cop for project-wide dead-code detection via the project index (disabled by default). ([@鈥媌batsov][])
  • #14598: Make Style/DisableCopsWithinSourceCodeDirective impossible to disable via directive comments when explicitly enabled with Enabled: true. ([@鈥媟afaelfranca][])
  • #15511: Support textDocument/codeAction requests in the built-in language server, so LSP clients that request code actions (Eglot, Helix, Flycheck, ...) can apply RuboCop's autocorrects, not only clients that read them off the published diagnostic. ([@鈥媌batsov][])
  • #8565: Support NewCops in department configuration to enable pending cops per department, including cops added up to a specific version (e.g. Style: NewCops: '1.19'). ([@鈥媖oic][])
  • #9373: Support autocorrection for tab indentation in Layout/IndentationWidth and Style/ClassAndModuleChildren. ([@鈥媔oquatix][], [@鈥媖oic][])

Bug fixes

  • #15257: Fix a false negative for Lint/ToEnumArguments when explicit extra keyword arguments are passed (e.g. def m(x:); to_enum(:m, x: x, y: 1); end), which raises ArgumentError when the enumerator is used. ([@鈥婻edZapdos123][])
  • #15452: Fix a false positive for Layout/HashAlignment when using EnforcedHashRocketStyle: table and a hash key spans multiple lines. ([@鈥媎duugg][])
  • #12269: Fix a false positive for Lint/UselessAssignment with modifier conditions. ([@鈥媌batsov][])
  • #13786: Fix a false positive for Lint/Void with setter methods. ([@鈥媌batsov][])
  • #15507: Fix a false positive for Naming/VariableNumber when using an empty symbol hash key. ([@鈥媖oic][])
  • #15284: Fix a false positive for Style/MutableConstant with Data.define. ([@鈥媌batsov][])
  • #15483: Fix a false positive for Style/MissingRespondToMissing when respond_to_missing? is defined in a reopening of the class and UseProjectIndex is enabled. ([@鈥媌batsov][])
  • #15500: Fix an error for Lint/LiteralAsCondition when a literal condition has an empty branch. ([@鈥媖oic][])
  • #15499: Fix an error for Lint/UselessRuby2Keywords when ruby2_keywords is used with a symbol but no method definition is found. ([@鈥媖oic][])
  • #15453: Fix an error for Metrics/MethodLength when a method contains a heredoc and __ENCODING__. ([@鈥媖oic][])
  • #15442: Fix an error for Style/ArrayIntersect cop when the block-based check calls member?/include? without an explicit receiver. ([@鈥媎duugg][])
  • #15434: Fix an error for Style/NegativeArrayIndex cop. ([@鈥媣iralpraxis][])
  • #15469: Fix an error for Style/RedundantFormat when a format string uses a positional argument number beyond the 64-bit range. ([@鈥媖oic][])
  • #15454: Fix an error for Style/RedundantFormat when the argument for a positional variable width is missing. ([@鈥媖oic][])
  • #15298: Fix an incorrect autocorrect for Lint/LiteralInInterpolation. ([@鈥媌batsov][])
  • #15515: Fix an incorrect autocorrect for Style/ArrayIntersect when using safe navigation none? with a block. ([@鈥媖oic][])
  • #15364: Fix an incorrect autocorrect for Style/MultipleComparison that dropped an allowed method comparison appearing between the compared values. ([@鈥媌batsov][])
  • #15367: Fix an incorrect autocorrect for Style/RedundantFileExtensionInRequire that produced invalid Ruby when a backslash preceded the .rb extension. ([@鈥媌batsov][])
  • #12017: Fix Lint/Void to no longer autocorrect a constant used in a void context, since removing it can change behavior through constant autoloading side effects. ([@鈥媌batsov][])
  • #14797: Avoid cache writes during server checks. ([@鈥媠jh9714][])
  • #15484: Fix false negatives for Lint/InheritException when Exception is inherited indirectly through a project class (UseProjectIndex). ([@鈥媌batsov][])
  • #15357: Fix a false negative for Lint/AmbiguousAssignment when using attribute or index assignment. ([@鈥媠ngsmz][])
  • #9571: Fix false negatives in Layout/ClassStructure when class body elements are wrapped in begin blocks. ([@鈥媖oic][])
  • #9570: Fix false negatives in Layout/ClassStructure when using private_class_method or public_class_method def modifiers. ([@鈥媖oic][])
  • #15438: Fix false positives in Style/ArrayIntersect when the receiver of include? in a block is not an array literal. ([@鈥媖oic][])
  • #15445: Fix false positives in Style/MultilineIfThen when using the Prism parser engine and an elsif without then follows a branch using then with a body on the same line. ([@鈥媖oic][])
  • #15058: Fix false positives in Lint/DuplicateMethods for anonymous classes (Class.new) passed as arguments to the same named-receiver method call (e.g. T.cast). Each Class.new block is an independent class, so methods defined in different blocks should not be treated as duplicates. ([@鈥媟afaelfranca][])
  • #15486: Fix false negatives for Style/RedundantConstantBase inside namespaces when the constant provably resolves identically without :: (UseProjectIndex). ([@鈥媌batsov][])
  • #15505: Fix incompatible autocorrect between Style/Lambda and Style/SymbolProc producing a syntax error like ->(x)(&:method) when both cops run on lambda { |x| x.method }. ([@鈥媖oic][])
  • #15481: Fix cross-file offenses depending on which files are inspected: the project index now always covers the whole project (UseProjectIndex). ([@鈥媌batsov][])
  • #13794: Fix Layout/LineLength autocorrection for endless methods with block bodies. ([@鈥媓ervetatche][])
  • #15462: Fix an error for Lint/ConstantReassignment when a built-in constant name is assigned and UseProjectIndex is enabled. ([@鈥媌batsov][])
  • #15321: Fix Style/ClassAndModuleChildren ignoring EnforcedStyleForClasses and EnforcedStyleForModules, and skip autocorrection when mixed per-type styles make the result ambiguous. ([@鈥媌batsov][])

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.89.0 (2026-08-04)

New features

  • #15492: Add AllCops/ProjectIndexIncludesGems for bundle-wide indexing. ([@鈥媌batsov][])
  • #15498: Add DelegatingMethods option to Lint/DuplicateMethods to register custom delegate-shaped methods. ([@鈥媌batsov][])
  • #15042: Add DisallowedCops configuration option to Style/DisableCopsWithinSourceCodeDirective. ([@鈥媓ammadxcm][])
  • #15441: Add new AllowYARDCommentBlockSeparator option to Layout/LeadingCommentSpace. ([@鈥媖oic][])
  • #15466: Add new Lint/DeprecatedReference cop to detect references to methods and constants documented as @deprecated, powered by the project index. ([@鈥媌batsov][])
  • #15491: Add new Lint/NameTypo cop. ([@鈥媌batsov][])
  • #15468: Add new Lint/UnusedPrivateMethod cop for project-wide dead-code detection via the project index (disabled by default). ([@鈥媌batsov][])
  • #14598: Make Style/DisableCopsWithinSourceCodeDirective impossible to disable via directive comments when explicitly enabled with Enabled: true. ([@鈥媟afaelfranca][])
  • #15511: Support textDocument/codeAction requests in the built-in language server, so LSP clients that request code actions (Eglot, Helix, Flycheck, ...) can apply RuboCop's autocorrects, not only clients that read them off the published diagnostic. ([@鈥媌batsov][])
  • #8565: Support NewCops in department configuration to enable pending cops per department, including cops added up to a specific version (e.g. Style: NewCops: '1.19'). ([@鈥媖oic][])
  • #9373: Support autocorrection for tab indentation in Layout/IndentationWidth and Style/ClassAndModuleChildren. ([@鈥媔oquatix][], [@鈥媖oic][])

Bug fixes

  • #15257: Fix a false negative for Lint/ToEnumArguments when explicit extra keyword arguments are passed (e.g. def m(x:); to_enum(:m, x: x, y: 1); end), which raises ArgumentError when the enumerator is used. ([@鈥婻edZapdos123][])
  • #15452: Fix a false positive for Layout/HashAlignment when using EnforcedHashRocketStyle: table and a hash key spans multiple lines. ([@鈥媎duugg][])
  • #12269: Fix a false positive for Lint/UselessAssignment with modifier conditions. ([@鈥媌batsov][])
  • #13786: Fix a false positive for Lint/Void with setter methods. ([@鈥媌batsov][])
  • #15507: Fix a false positive for Naming/VariableNumber when using an empty symbol hash key. ([@鈥媖oic][])
  • #15284: Fix a false positive for Style/MutableConstant with Data.define. ([@鈥媌batsov][])
  • #15483: Fix a false positive for Style/MissingRespondToMissing when respond_to_missing? is defined in a reopening of the class and UseProjectIndex is enabled. ([@鈥媌batsov][])
  • #15500: Fix an error for Lint/LiteralAsCondition when a literal condition has an empty branch. ([@鈥媖oic][])
  • #15499: Fix an error for Lint/UselessRuby2Keywords when ruby2_keywords is used with a symbol but no method definition is found. ([@鈥媖oic][])
  • #15453: Fix an error for Metrics/MethodLength when a method contains a heredoc and __ENCODING__. ([@鈥媖oic][])
  • #15442: Fix an error for Style/ArrayIntersect cop when the block-based check calls member?/include? without an explicit receiver. ([@鈥媎duugg][])
  • #15434: Fix an error for Style/NegativeArrayIndex cop. ([@鈥媣iralpraxis][])
  • #15469: Fix an error for Style/RedundantFormat when a format string uses a positional argument number beyond the 64-bit range. ([@鈥媖oic][])
  • #15454: Fix an error for Style/RedundantFormat when the argument for a positional variable width is missing. ([@鈥媖oic][])
  • #15298: Fix an incorrect autocorrect for Lint/LiteralInInterpolation. ([@鈥媌batsov][])
  • #15515: Fix an incorrect autocorrect for Style/ArrayIntersect when using safe navigation none? with a block. ([@鈥媖oic][])
  • #15364: Fix an incorrect autocorrect for Style/MultipleComparison that dropped an allowed method comparison appearing between the compared values. ([@鈥媌batsov][])
  • #15367: Fix an incorrect autocorrect for Style/RedundantFileExtensionInRequire that produced invalid Ruby when a backslash preceded the .rb extension. ([@鈥媌batsov][])
  • #12017: Fix Lint/Void to no longer autocorrect a constant used in a void context, since removing it can change behavior through constant autoloading side effects. ([@鈥媌batsov][])
  • #14797: Avoid cache writes during server checks. ([@鈥媠jh9714][])
  • #15484: Fix false negatives for Lint/InheritException when Exception is inherited indirectly through a project class (UseProjectIndex). ([@鈥媌batsov][])
  • #15357: Fix a false negative for Lint/AmbiguousAssignment when using attribute or index assignment. ([@鈥媠ngsmz][])
  • #9571: Fix false negatives in Layout/ClassStructure when class body elements are wrapped in begin blocks. ([@鈥媖oic][])
  • #9570: Fix false negatives in Layout/ClassStructure when using private_class_method or public_class_method def modifiers. ([@鈥媖oic][])
  • #15438: Fix false positives in Style/ArrayIntersect when the receiver of include? in a block is not an array literal. ([@鈥媖oic][])
  • #15445: Fix false positives in Style/MultilineIfThen when using the Prism parser engine and an elsif without then follows a branch using then with a body on the same line. ([@鈥媖oic][])
  • #15058: Fix false positives in Lint/DuplicateMethods for anonymous classes (Class.new) passed as arguments to the same named-receiver method call (e.g. T.cast). Each Class.new block is an independent class, so methods defined in different blocks should not be treated as duplicates. ([@鈥媟afaelfranca][])
  • #15486: Fix false negatives for Style/RedundantConstantBase inside namespaces when the constant provably resolves identically without :: (UseProjectIndex). ([@鈥媌batsov][])
  • #15505: Fix incompatible autocorrect between Style/Lambda and Style/SymbolProc producing a syntax error like ->(x)(&:method) when both cops run on lambda { |x| x.method }. ([@鈥媖oic][])
  • #15481: Fix cross-file offenses depending on which files are inspected: the project index now always covers the whole project (UseProjectIndex). ([@鈥媌batsov][])
  • #13794: Fix Layout/LineLength autocorrection for endless methods with block bodies. ([@鈥媓ervetatche][])
  • #15462: Fix an error for Lint/ConstantReassignment when a built-in constant name is assigned and UseProjectIndex is enabled. ([@鈥媌batsov][])

... (truncated)

Commits
  • 65854e6 Cut 1.89
  • f5dbd74 Update Changelog
  • 2f96cd7 Add new Lint/NameTypo cop
  • 9a91e2b Promote the resolved-ancestry guard to ProjectIndexHelp
  • e917b65 Merge pull request #15522 from joklek-vinted/fix/mise-toml-with-single-quotes
  • 619e3d2 Fix Ruby version detection from mise.toml with single quotes
  • 7999d1a [Fix #15501] Improve Style/RedundantLineContinuation performance on adjacen...
  • 63d9361 Advertise executeCommandProvider in the language server
  • 893a02f Cache the LSP project index across requests
  • 3b9755f Merge pull request #15516 from koic/fix_a_flaky_line_length_spec_timeout_on_j...
  • 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 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)

Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.88.2...v1.89.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.89.0
  dependency-type: direct:development
...

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 Aug 7, 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