Skip to content

Update dependency rubocop to v1.85.1#809

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/rubocop-1.x-lockfile
Open

Update dependency rubocop to v1.85.1#809
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/rubocop-1.x-lockfile

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 2, 2026

This PR contains the following updates:

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

Release Notes

rubocop/rubocop (rubocop)

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

v1.84.2

Compare Source

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

v1.84.1

Compare Source

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

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.

@codecov-commenter
Copy link

codecov-commenter commented Feb 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.90%. Comparing base (ccc7493) to head (9793600).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #809   +/-   ##
=======================================
  Coverage   66.90%   66.90%           
=======================================
  Files          46       46           
  Lines        1281     1281           
=======================================
  Hits          857      857           
  Misses        424      424           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate renovate bot changed the title Update dependency rubocop to v1.84.1 Update dependency rubocop to v1.84.2 Feb 12, 2026
@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch from 54bb4f6 to 9793600 Compare February 12, 2026 09:47
@renovate renovate bot changed the title Update dependency rubocop to v1.84.2 Update dependency rubocop to v1.85.0 Feb 26, 2026
@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch 2 times, most recently from a850809 to 2eecb76 Compare March 5, 2026 13:10
@renovate renovate bot changed the title Update dependency rubocop to v1.85.0 Update dependency rubocop to v1.85.1 Mar 5, 2026
@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch from 2eecb76 to 7e57dc5 Compare March 13, 2026 15:48
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