Skip to content

chore(deps): update dependency rubocop to v1.77.0 #114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 17, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rubocop (source, changelog) 1.74.0 -> 1.77.0 age adoption passing confidence

Release Notes

rubocop/rubocop (rubocop)

v1.77.0

Compare Source

New features
Bug fixes
  • #​14306: Fix an error for Style/HashConversion when using nested Hash[]. ([@​koic][])
  • #​14298: Fix an error for Style/SoleNestedConditional when autocorrecting nested if/unless/if. ([@​ssagara00][])
  • #​14313: Fix a false positive for Layout/SpaceBeforeBrackets when call desugared Hash#[] to lvar receiver with a space around the dot. ([@​koic][])
  • #​14292: Fix false positives for Style/RedundantParentheses when assigning a parenthesized one-line in pattern matching. ([@​koic][])
  • #​14296: Fix false positives for Style/RedundantSelf when receiver and lvalue have the same name in or-assignment. ([@​koic][])
  • #​14303: Fix Lint/SelfAssignment to allow inline RBS comments. ([@​Morriar][])
  • #​14307: Fix Style/MethodCallWithArgsParentheses false positive on forwarded keyword argument with additional arguments. ([@​viralpraxis][])
  • #​14301: Fix autocorrection syntax error for multiline expressions in Style/RedundantParentheses. ([@​lovro-bikic][])
Changes

v1.76.2

Compare Source

Bug fixes
  • #​14273: Fix an error for Lint/EmptyInterpolation when using a boolean literal inside interpolation. ([@​koic][])
  • #​14260: Fix an error for Lint/UselessDefaultValueArgument when fetch call without a receiver. ([@​koic][])
  • #​14267: Fix an error for Style/ConditionalAssignment cop when using one-line branches. ([@​viralpraxis][])
  • #​14275: Fix false positives for Style/RedundantParentheses when using parenthesized one-line pattern matching in endless method definition. ([@​koic][])
  • #​14269: Fix false positives for Style/RedundantSelf when local variable assignment name is used in nested if. ([@​koic][])
  • #​14286: Fix incorrect autocorrect for Lint/SafeNavigationChain when a safe navigation is used on the left-hand side of a - operator when inside an array. ([@​koic][])
Changes

v1.76.1

Compare Source

Bug fixes
  • #​14245: Fix an error for Lint/EmptyInterpolation when using primitives in interpolation. ([@​ka8725][])
  • #​14233: Fix an error for Style/SafeNavigation when using ternary expression with index access call. ([@​koic][])
  • #​14236: Fix an error for Style/SafeNavigation when using ternary expression with operator method call. ([@​koic][])
  • #​14249: Fix false positives for Style/RedundantArrayFlatten when Array#join is used with an argument other than the default nil. ([@​koic][])
  • #​14239: Fix false positives for Style/RedundantParentheses when using one-line in pattern matching in operator. ([@​koic][])
  • #​14240: Fix Naming/PredicateMethod cop error on empty parentheses method body. ([@​viralpraxis][])
  • #​14235: Fix Style/SafeNavigation cop error on indexed assignment in ternary expression. ([@​viralpraxis][])
  • #​14247: Fix Style/SafeNavigation invalid autocorrection on double colon method call. ([@​viralpraxis][])

v1.76.0

Compare Source

New features
Bug fixes
  • #​14228: Fix a false positive for Style/RedundantParentheses when using a one-line rescue expression as a method argument. ([@​koic][])
  • #​14224: Fix false negatives for Style/RedundantParentheses when using one-line pattern matching. ([@​koic][])
  • #​14205: False negatives in Style/SafeNavigation when a ternary expression is used in a method argument. ([@​steiley][])
  • #​14226: Fix Lint/LiteralAsCondition autocorrect when branches of a condition have comments. ([@​zopolis4][])
Changes

v1.75.8

Compare Source

Bug fixes
  • #​14191: Fix Lint/FloatComparison cop to detect floating-point number comparisons in case statements. ([@​daisuke][])
  • #​14209: Fix an error for Style/RedundantFormat with invalid format arguments. ([@​earlopain][])
  • #​14200: Fix false positives for Style/DefWithParentheses when using endless method definition with empty parentheses and a space before =. ([@​koic][])
  • #​14197: Fix infinite loop error for EnforcedStyle: with_fixed_indentation of Layout/ArgumentAlignment and EnforcedStyle: consistent of Layout/FirstArgumentIndentation and Layout/HashAlignment. ([@​koic][])
  • #​14204: Fix Layout/EmptyLinesAroundAccessModifier cop error on trailing access modifier. ([@​viralpraxis][])
  • #​14198: Fix Lint/DuplicateMethods cop error on to option is dynamically generated and prefix is enabled. ([@​viralpraxis][])
  • #​14199: Fix wrong autocorrection for Style/MapToHash with destructuring argument. ([@​lovro-bikic][])
  • #​14050: Modify condition for rubocop:todo EOL comment. ([@​jonas054][])

v1.75.7

Compare Source

Bug fixes
  • #​14185: Fix an error for Style/IfUnlessModifierOfIfUnless when using nested modifier. ([@​koic][])
  • #​14192: Fix negatives for Layout/SpaceBeforeBrackets when using space between method argument parentheses and left bracket. ([@​koic][])
  • #​14189: Fix incorrect autocorrect for Layout/SpaceBeforeBrackets when using space between receiver and left brackets, and a space inside left bracket. ([@​koic][])
  • #​14170: Fix Style/AccessModifierDeclarations cop error on semicolon after modifier. ([@​viralpraxis][])
  • #​14195: Fix Style/AccessModifierDeclarations cop error on symbol modifier without surrounding scope. ([@​viralpraxis][])
  • #​14172: Fix Style/AccessModifierDeclarations cop false positives when there are no method definitions and style is inline. ([@​viralpraxis][])
  • #​14193: Fix Lint/UselessAssignment cop error when using nested assignment with splat. ([@​earlopain][])
Changes

v1.75.6

Compare Source

Bug fixes
  • #​14176: Fix an error for Style/MultilineIfModifier when using nested modifier. ([@​koic][])
  • #​14077: Change nil representation in todo file comments. ([@​jonas054][])
  • #​14164: Fix an error for Lint/UselessAssignment when variables are assigned using unary operator in chained assignment and remain unreferenced. ([@​koic][])
  • #​14173: Fix an error for Style/StringConcatenation when using implicit concatenation with string interpolation. ([@​koic][])
  • #​14177: Fix false positives for Style/SoleNestedConditional when using nested if and not in condition. ([@​koic][])
  • #​14152: Fix Layout/SpaceInsideArrayLiteralBrackets cop error on array pattern without brackets. ([@​viralpraxis][])
  • #​14153: Fix Style/PercentQLiterals cop error on Unicode escape sequence. ([@​viralpraxis][])
Changes

v1.75.5

Compare Source

Bug fixes
  • #​14148: Fix an infinite loop error for Layout/SpaceAfterSemicolon with Layout/SpaceBeforeSemicolon when a sequence of semicolons appears. ([@​koic][])
  • #​14145: Fix Lint/ArrayLiteralInRegexp cop error on empty interpolation. ([@​viralpraxis][])
  • #​14072: Fix autocorrect issue in Layout/HashAlignment. ([@​jonas054][])
  • #​14131: Fix false positives for Style/ArgumentsForwarding when using anonymous block argument forwarding to a method with a block. ([@​koic][])
  • #​14140: Fix Layout/LeadingCommentSpace to allow splitting long inline RBS comment signatures across multiple lines. ([@​Morriar][])
  • #​14147: Fix Lint/LiteralAsCondition cop error on if without body. ([@​viralpraxis][])
  • #​14151: Fix Lint/Void cop error on nested empty begin. ([@​viralpraxis][])
  • #​13547: Fix Style/IdenticalConditionalBranches cop failure in case of if node with implicit then. ([@​viralpraxis][])
  • #​14146: Fix Style/MethodCallWithArgsParentheses cop error on complex numbers when EnforcedStyle is set to omit_parentheses. ([@​viralpraxis][])
  • #​14137: Fix Style/TrailingCommaInArguments cop error if EnforcedStyleForMultiline is set to comma. ([@​viralpraxis][])
Changes
  • #​14144: Layout/SpaceInsideArrayLiteralBrackets make aware of array pattern matching. ([@​koic][])
  • #​14142: Layout/SpaceInsideHashLiteralBraces make aware of hash pattern matching. ([@​koic][])

v1.75.4

Compare Source

Bug fixes
  • #​14123: Fix an infinite loop error for Lint/BooleanSymbol when using the rocket hash syntax with a boolean symbol key. ([@​koic][])
  • #​14134: Fix an error for Style/ComparableBetween when comparing the value with itself. ([@​earlopain][])
  • #​14111: Fix an error for Style/SafeNavigation when the RHS of && is a complex || expression composed of && conditions. ([@​koic][])
  • #​14129: Fix false positives for Style/ArgumentsForwarding when using default positional arg, keyword arg, and block arg in Ruby 3.1. ([@​koic][])
  • #​14110: Fix false positives for Style/RedundantParentheses when parens around basic conditional as the second argument of a parenthesized method call. ([@​koic][])
  • #​14120: Fix false positives for Style/RedundantParentheses when parens around unparenthesized method call as the second argument of a parenthesized method call. ([@​koic][])
  • #​14133: Fix Lint/LiteralAsCondition autocorrect when a literal is the condition of an elsif followed by an else. ([@​zopolis4][])
  • #​14116: Make Style/TrailingCommaInArguments cop aware of trailing commas in [] method call. ([@​viralpraxis][])
  • #​14114: Fix Style/ClassAndModuleChildren cop error on tab-intended compactable modules. ([@​viralpraxis][])
Changes

v1.75.3

Compare Source

Bug fixes
  • #​13676: Allow RuboCop to inspect hidden directories if they are explicitly provided. ([@​viralpraxis][])
  • #​14080: Allow writing RBS::Inline annotation #: after end keyword in Style/CommentedKeyword. ([@​dak2][])
  • #​14075: Fix an error for Layout/EmptyLineAfterGuardClause when calling a method on the result of a single-line if with return. ([@​koic][])
  • #​14067: Fix false negatives for Style/RedundantParentheses when using parens around singleton method body. ([@​koic][])
  • #​14070: Fix false positives for EnforcedStyleForMultiline: diff_comma of Style/TrailingCommaInArrayLiteral and Style/TrailingCommaInHashLiteral when trailing comma with comment. ([@​koic][])
  • #​14092: Fix false negative for Style/RedundantParentheses when using some operator methods with a parenthesized argument. ([@​koic][])
  • #​14103: Fix Layout/MultilineOperationIndentation cop error on indexasgn node without arguments. ([@​viralpraxis][])
  • #​14089: Fix redundant current directory prefix regexp. ([@​sferik][])
  • #​14099: Fix Style/ClassAndModuleChildren cop error on one-liner class definition and nested enforced style. ([@​viralpraxis][])
  • #​14083: Fix Style/ConditionalAssignment cop error on one-line if-then-else. ([@​viralpraxis][])
  • #​14104: Fix Style/ConditionalAssignment cop error on indexed assignment without arguments. ([@​viralpraxis][])
  • #​14084: Fix Style/RedundantLineContinuation cop error on multiline assignment with line continuation. ([@​viralpraxis][])
  • #​14096: Fix error for Style/SafeNavigation with longer && chain (e.g. a && a.b && a.b.c). ([@​lovro-bikic][])
  • #​14068: Fix wrong autocorrection for Style/MapIntoArray when using push or append with hash argument without braces. ([@​lovro-bikic][])
Changes

v1.75.2

Compare Source

Changes
Bug fixes
  • #​14041: Fix an error when using ERB templated config YAML with server mode. ([@​koic][])
  • #​14048: Do not emit a warning for a zero-sized file while checking if it is executable. ([@​viralpraxis][])
  • #​14053: Fix incorrect autocorrect for Lint/DeprecatedOpenSSLConstant cipher constant argument is not cbc. ([@​koic][])
  • #​14051: Fix incorrect autocorrect for Style/RedundantCondition when true is used as the true branch and the condition takes arguments. ([@​koic][])
  • #​14062: Fix false positives for Lint/ReturnInVoidContext when returning inside define_method or a nested singleton method. ([@​earlopain][])
  • #​14057: Fix Style/ConditionalAssignment cop error on dynamic string node in branch. ([@​viralpraxis][])
  • #​14047: Fix Style/FrozenStringLiteralComment cop errors on emacs-styled magic comment. ([@​viralpraxis][])

v1.75.1

Compare Source

Changes
  • #​14038: Rename EnforcedStyle: allow_named_parameter to EnforcedStyle: only_numbered_parameters in Style/ItBlockParameter. ([@​koic][])

v1.75.0

Compare Source

New features
Bug fixes
  • #​14022: Fix an error for Style/HashFetchChain when no arguments are given to fetch. ([@​koic][])
  • #​14028: Fix false negative for Layout/MultilineMethodParameterLineBreaks when class method definitions are used. ([@​vlad-pisanov][])
  • #​14027: Fix false negative for Layout/LineLength when autocorrecting class method definitions. ([@​vlad-pisanov][])
  • #​8099: Fix infinite loop between Layout/SpaceAroundOperators and Layout/HashAlignment with EnforcedHashRocketStyle being an array containing table. ([@​dvandersluis][])
  • #​14021: Fix handling of long heredoc lines with SplitStrings enabled. ([@​mauro-oto][])
  • #​13968: Fix InternalAffairs/RedundantDescribedClassAsSubject cop error on missing describe. ([@​viralpraxis][])
  • #​14036: Fix false negative for Lint/ShadowingOuterLocalVariable when block local variable is used inside a condition. ([@​lovro-bikic][])
  • #​13990: Fix a false positive for Lint/UselessAssignment when a variable is reassigned in a different branch. ([@​eugeneius][])
  • #​14012: Fix incorrect autocorrections for Style/SoleNestedConditional. ([@​lovro-bikic][])
  • #​14020: Fix comment autocorrection for Style/IfInsideElse. ([@​lovro-bikic][])
Changes

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

graphite-app bot commented Jun 17, 2025

How to use the Graphite Merge Queue

Add the label merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch from e087171 to 1c3f565 Compare June 20, 2025 09:04
@renovate renovate bot changed the title chore(deps): update dependency rubocop to v1.76.2 chore(deps): update dependency rubocop to v1.77.0 Jun 20, 2025
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.

0 participants