Skip to content

chore(deps): update dependency rubocop to v1.86.0#157

Merged
drish merged 1 commit intomainfrom
renovate/rubocop-1.x-lockfile
Mar 23, 2026
Merged

chore(deps): update dependency rubocop to v1.86.0#157
drish merged 1 commit intomainfrom
renovate/rubocop-1.x-lockfile

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 26, 2026

This PR contains the following updates:

Package Change Age Confidence
rubocop (source, changelog) 1.84.21.86.0 age confidence

Release Notes

rubocop/rubocop (rubocop)

v1.86.0

Compare Source

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][])
  • #​15019: Fix false positives in Lint/DuplicateMethods when the same method is defined in anonymous module blocks passed to different receivers. ([@​koic][])
  • #​14987: Complete ERB and Haml autocorrection in a single run. ([@​alpaca-tc][])
  • #​15039: Fix incorrect autocorrect in Style/IfWithSemicolon when return with value is in the else branch. ([@​koic][])
  • #​14930: Fix incorrect autocorrection for Style/IfUnlessModifier when multiple if/unless modifier forms are on the same line inside a collection. ([@​ydakuka][])
  • #​14985: Fix incorrect autocorrection in Lint/SafeNavigationChain when chaining a method call after safe navigation in the if branch of a ternary. ([@​koic][])
  • #​15009: Fix infinite loop in Layout/EndAlignment when end is followed by || or &&. ([@​koic][])
  • #​14981: Fix spurious warning "does not support Safe/SafeAutoCorrect parameter" when those parameters are set for cops that don't have them in their default configuration. ([@​dduugg][])
  • #​15043: Fix an error for Lint/UselessDefaultValueArgument when fetch without a receiver is inside a fetch block. ([@​koic][])
  • #​15034: Fix incorrect autocorrection in Style/IfWithSemicolon when using single-line unless / ; / end. ([@​koic][])
  • #​15015: Fix Style/NonNilCheck autocorrect for receivers containing spaces. ([@​bbatsov][])
  • #​15015: Fix Style/RaiseArgs to allow anonymous keyword forwarding (raise Ex.new(**)). ([@​bbatsov][])
  • #​14890: Fix a false positive for Lint/RedundantCopDisableDirective when a rubocop:disable comment is used to suppress Lint/EmptyWhen, Lint/EmptyConditionalBody, Lint/EmptyInPattern, or Style/SymbolProc. ([@​eugeneius][])
  • #​15015: Fix false negative in Style/RedundantPercentQ for %q strings with interpolation-like syntax. ([@​bbatsov][])
  • #​14984: Fix Style/AndOr adding unnecessary parentheses around return without arguments. ([@​eugeneius][])
  • #​14945: Support files with multiple modifiers in Lint/UselessConstantScoping. ([@​h-lame][])
  • #​15015: Fix Style/TrailingMethodEndStatement to detect singleton methods (def self.foo). ([@​bbatsov][])
  • #​10822: Don't store results in cache if there are warnings. ([@​jonas054][])
Changes
  • #​14718: Allow setting MaxFilesInCache to false to entirely disable cache pruning. ([@​byroot][])
  • #​14989: Make Lint/RedundantSafeNavigation aware of safe navigation in conditional true branch. ([@​koic][])
  • #​15041: Remove mcp gem from runtime dependencies. ([@​koic][])

v1.85.1

Compare Source

Bug fixes
  • #​14958: Fix false positives in Style/FileOpen when File.open is passed as an argument or returned from a method. ([@​sferik][])
  • #​14973: Fix Style/ReduceToHash false positive when accumulator is read in key/value. ([@​sferik][])
  • #​14964: Fix false positives in Style/RedundantParentheses when parenthesizing a range in a block body. ([@​koic][])
Changes

v1.85.0

Compare Source

New features
Bug fixes
  • #​14829: Allow classes without a superclass in Style/EmptyClassDefinition. ([@​koic][])
  • #​14873: Fix an error in Style/NegatedWhile when the last expression of an until condition is negated. ([@​koic][])
  • #​14827: Improve Style/EmptyClassDefinition message wording. ([@​bbatsov][])
  • #​14800: Fix false obsolete configuration error for extracted cops when loaded as plugins. ([@​bbatsov][])
  • #​14928: Fix a false positive for Lint/Void when nil is used in case branch. ([@​5hun-s][])
  • #​14857: Fix false positives in Style/IfUnlessModifier when modifier forms are used inside string interpolations. ([@​koic][])
  • #​8773: Fix false positives in Style/HashTransformKeys and Style/HashTransformValues. ([@​sferik][])
  • #​6963: Fix false positives in Lint/Void for each blocks where the return value may be meaningful (e.g., Enumerator#each). ([@​sferik][])
  • #​14931: Ignore directive comments inside comments. ([@​koic][])
  • #​14834: Fix Layout/IndentationWidth false positive for chained method blocks when EnforcedStyleAlignWith is start_of_line. ([@​krororo][])
  • #​14756: Fix Lint/Void to detect void expressions in case/when branches. ([@​bbatsov][])
  • #​14874: Fix a Parser::ClobberingError in Lint/UselessAssignment when autocorrecting a useless assignment that wraps a block containing another useless assignment. ([@​koic][])
  • #​14880: Fix a false negative in Layout/MultilineAssignmentLayout when using numblock or itblock with SupportedTypes: ['block']. ([@​bbatsov][])
  • #​11462: Fix over-indentation when autocorrecting nested hashes with Layout/FirstHashElementIndentation. ([@​ydakuka][])
  • #​14880: Recognize block on different line from left side of multi-line assignment in Layout/MultilineAssignmentLayout. ([@​sanfrecce-osaka][])
  • #​14641: Fix false positive in Lint/RedundantSafeNavigation when using &.respond_to? with methods defined on Object (e.g., :class). ([@​bbatsov][])
  • #​14098: Mark Lint/SafeNavigationConsistency autocorrect as unsafe. ([@​bbatsov][])
  • #​14791: Fix autocorrect producing SyntaxError in Lint/InterpolationCheck when single quoted string contains double quotes with invalid interpolation. ([@​ydakuka][])
Changes
  • #​14872: Tweak autocorrection in Style/HashAsLastArrayItem when multiline hash elements. ([@​koic][])
  • #​14917: Change Style/EndlessMethod cop to consider receivers. ([@​fatkodima][])
  • #​14851: Reduce precision in 'Finished in X.X seconds' message to 5 decimal places. ([@​ZimbiX][])
  • #​14895: Rename class_definition to class_keyword in EnforcedStyle of Style/EmptyClassDefinition. ([@​koic][])
  • #​14956: Add support for String.new with interpolated strings to Style/RedundantInterpolationUnfreeze. ([@​lovro-bikic][])
  • #​14955: Register redundant parentheses around block body in Style/RedundantParentheses. ([@​lovro-bikic][])

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.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

@renovate renovate bot changed the title chore(deps): update dependency rubocop to v1.85.0 chore(deps): update dependency rubocop to v1.85.1 Mar 5, 2026
@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch from f790580 to 4c331a9 Compare March 5, 2026 11:06
@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch from 4c331a9 to b077cf7 Compare March 13, 2026 13:06
@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch from b077cf7 to d07fb52 Compare March 23, 2026 10:55
@renovate renovate bot changed the title chore(deps): update dependency rubocop to v1.85.1 chore(deps): update dependency rubocop to v1.86.0 Mar 23, 2026
@drish drish merged commit ea3e3eb into main Mar 23, 2026
9 checks passed
@drish drish deleted the renovate/rubocop-1.x-lockfile branch March 23, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant