Skip to content

Bump rubocop from 1.82.1 to 1.86.1#98

Merged
noraj merged 1 commit intomasterfrom
dependabot/bundler/rubocop-1.86.1
Apr 18, 2026
Merged

Bump rubocop from 1.82.1 to 1.86.1#98
noraj merged 1 commit intomasterfrom
dependabot/bundler/rubocop-1.86.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 17, 2026

Bumps rubocop from 1.82.1 to 1.86.1.

Release notes

Sourced from rubocop's releases.

RuboCop v1.86.1

Bug fixes

  • #11051: Fix Style/AccessModifierDeclarations inline autocorrect dropping comments between the access modifier and the following method definition. (@​dduugg)
  • #14665: Cache plugin integration in CopHelper to avoid repeated loading. (@​55728)
  • #15091: Fix Lint/DuplicateMethods false positives for anonymous classes in constant assignments and method return values. (@​eugeneius)
  • #15055: Fix Lint/DuplicateMethods false positives with anonymous classes inside blocks (e.g. RSpec let, describe). (@​ShkumbinDelija)
  • #15035: Exclude included_modules from Style/ModuleMemberExistenceCheck. (@​koic)
  • #15087: Fix false positive for Style/RedundantLineContinuation when using interpolated string literals. (@​koic)
  • #14361: Fix false positive in file_to_include? when a relative Include pattern matches a parent directory name in the absolute file path. (@​jonas054)
  • #15090: Fix false positives for Layout/EmptyLineAfterGuardClause when consecutive guard clauses use and return. (@​eugeneius)
  • #15070: Fix false positive for Lint/RedundantSafeNavigation when chained safe navigation is used in a conditional expression with InferNonNilReceiver enabled. (@​koic)
  • #15074: Fix false positives in Style/RedundantParentheses when using parentheses around an endless range in assignment. (@​koic)
  • #15048: Fix issue where the url_for is missing for Cops without instance methods. (@​Fryguy)
  • #15051: Fix Style/RedundantParentheses handling of beginless ranges. (@​oggy)
  • #14980: Fix Lint/Syntax zero-length diagnostic range for syntax errors at EOF. (@​55728)
  • #15084: Handle heredocs with methods calls correctly when fixing guard clauses. (@​G-Rath)
  • #11398: Fix incorrect Include path adjustment when local config overrides an inherited Include. (@​jonas054)
  • #15092: Fix Layout/EndAlignment cop error on an empty begin. (@​viralpraxis)
  • #15059: Fix an error in Layout/LineLength when SplitStrings option is enabled and __FILE__ is used. (@​jeromedalbert)
  • #5876: Fix Lint/UnusedMethodArgument false positive when block argument is used via yield. (@​dduugg)
  • #15093: Return tool execution errors instead of protocol errors in MCP server. (@​koic)

Changes

  • #15005: Make Style/OneClassPerFile exclude spec/**/* and test/**/* by default. (@​koic)
  • #15081: Relax parallel dependency to >= 1.10. (@​koic)
  • #15063: Disable Style/RedundantStructKeywordInit cop by default. (@​koic)

RuboCop v1.86.0

New features

Bug fixes

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.86.1 (2026-04-09)

Bug fixes

  • #11051: Fix Style/AccessModifierDeclarations inline autocorrect dropping comments between the access modifier and the following method definition. ([@​dduugg][])
  • #14665: Cache plugin integration in CopHelper to avoid repeated loading. ([@​55728][])
  • #15091: Fix Lint/DuplicateMethods false positives for anonymous classes in constant assignments and method return values. ([@​eugeneius][])
  • #15055: Fix Lint/DuplicateMethods false positives with anonymous classes inside blocks (e.g. RSpec let, describe). ([@​ShkumbinDelija][])
  • #15035: Exclude included_modules from Style/ModuleMemberExistenceCheck. ([@​koic][])
  • #15087: Fix false positive for Style/RedundantLineContinuation when using interpolated string literals. ([@​koic][])
  • #14361: Fix false positive in file_to_include? when a relative Include pattern matches a parent directory name in the absolute file path. ([@​jonas054][])
  • #15090: Fix false positives for Layout/EmptyLineAfterGuardClause when consecutive guard clauses use and return. ([@​eugeneius][])
  • #15070: Fix false positive for Lint/RedundantSafeNavigation when chained safe navigation is used in a conditional expression with InferNonNilReceiver enabled. ([@​koic][])
  • #15074: Fix false positives in Style/RedundantParentheses when using parentheses around an endless range in assignment. ([@​koic][])
  • #15048: Fix issue where the url_for is missing for Cops without instance methods. ([@​Fryguy][])
  • #15051: Fix Style/RedundantParentheses handling of beginless ranges. ([@​oggy][])
  • #14980: Fix Lint/Syntax zero-length diagnostic range for syntax errors at EOF. ([@​55728][])
  • #15084: Handle heredocs with methods calls correctly when fixing guard clauses. ([@​G-Rath][])
  • #11398: Fix incorrect Include path adjustment when local config overrides an inherited Include. ([@​jonas054][])
  • #15092: Fix Layout/EndAlignment cop error on an empty begin. ([@​viralpraxis][])
  • #15059: Fix an error in Layout/LineLength when SplitStrings option is enabled and __FILE__ is used. ([@​jeromedalbert][])
  • #5876: Fix Lint/UnusedMethodArgument false positive when block argument is used via yield. ([@​dduugg][])
  • #15093: Return tool execution errors instead of protocol errors in MCP server. ([@​koic][])

Changes

  • #15005: Make Style/OneClassPerFile exclude spec/**/* and test/**/* by default. ([@​koic][])
  • #15081: Relax parallel dependency to >= 1.10. ([@​koic][])
  • #15063: Disable Style/RedundantStructKeywordInit cop by default. ([@​koic][])

1.86.0 (2026-03-23)

New features

Bug fixes

  • #15015: Fix Style/ConcatArrayLiterals autocorrect deleting code for percent literals with interpolation. ([@​bbatsov][])
  • #14897: Detect constant reassignment after class/module definition in Lint/ConstantReassignment. ([@​ydakuka][])
  • #11829: Fix false negatives for Lint/DuplicateMethods when duplicate methods are defined in anonymous classes and modules not assigned to a constant. ([@​Darhazer][])
  • #14988: Fix false negative in Style/RedundantParentheses when redundant parentheses around range literals in block body. ([@​koic][])
  • #14916: Fix false positive for Layout/MultilineMethodCallIndentation when method chain is inside a hash pair value passed to a multiline chained method call. ([@​ydakuka][])
  • #15010: Fix a false positive for Lint/DuplicateMethods when modules blocks are passed as method arguments. ([@​5hun-s][])
  • #15028: Fix a false positive for Lint/DuplicateMethods when the same method is defined in different anonymous module blocks passed to a no-receiver call (e.g. stub_const). ([@​Darhazer][])
  • #15021: Fix false positives in Layout/EmptyLineAfterGuardClause when using a guard clause followed by a multi-line guard clause with raise, fail, return, break, or next. ([@​koic][])
  • #15001: Fix false positives in Layout/RedundantLineBreak when setting InspectBlocks: true and using rescue or ensure in the block. ([@​koic][])
  • #14997: Fix false positives in Style/FileOpen when assigning File.open to an instance variable, class variable, global variable, or constant. ([@​koic][])

... (truncated)

Commits
  • af80266 Cut 1.86.1
  • eb504ce Update Changelog
  • 9c8fe2c Merge pull request #15085 from G-Rath/fix-style-guard
  • 11d796a Merge pull request #15093 from koic/fix_return_tool_execution_errors_instead_...
  • 4450067 Return tool execution errors instead of protocol errors in MCP server
  • ff64180 Merge pull request #15092 from viralpraxis/fix-an-error-for-layout-end-alignm...
  • 11e04c0 Merge pull request #15091 from eugeneius/duplicate_methods_anonymous_classes
  • b8deea4 Merge pull request #15090 from eugeneius/guard_clause_and_return
  • e130020 Fix Layout/EndAlignment cop error on an empty begin
  • 4808594 Fix DuplicateMethods for anonymous classes in constant assignments and methods
  • Additional commits viewable in compare view

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.82.1 to 1.86.1.
- [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.86.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/bundler/rubocop-1.86.1 branch from b446b7a to 3ae9c04 Compare April 18, 2026 00:58
@noraj noraj merged commit 0c877a3 into master Apr 18, 2026
4 checks passed
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-1.86.1 branch April 18, 2026 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant