Skip to content
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

chore(deps): update dependency rubocop to v1.74.0 #80

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 26, 2024

This PR contains the following updates:

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

Release Notes

rubocop/rubocop (rubocop)

v1.74.0

Compare Source

New features
Bug fixes
  • #​13969: Fix a false positive for Lint/SharedMutableDefault when capacity keyword argument is used. ([@​koic][])
  • #​13945: Fix a false positive for Style/DoubleNegation when calling define_method/define_singleton_method with a numblock. ([@​earlopain][])
  • #​13971: Fix false alarm for config obsoletion. ([@​koic][])
  • #​13960: Fix a false negative for Lint/ReturnInVoidContext when returning out of a block. ([@​earlopain][])
  • #​13947: Fix a false negative for Lint/UselessConstantScoping for constants defined in class << self. ([@​earlopain][])
  • #​13949: Fix a false negative for Lint/NonLocalExitFromIterator with numblocks. ([@​earlopain][])
  • #​13975: Fix false positives for Style/RedundantCurrentDirectoryInPath when using a complex current directory path in require_relative. ([@​koic][])
  • #​13963: Fix wrong autocorrect for Lint/LiteralAsCondition when the literal is followed by return, break, or next. ([@​earlopain][])
  • #​13946: Fix some false positives for Style/MethodCallWithArgsParentheses with EnforcedStyle: omit_parentheses style and numblocks. ([@​earlopain][])
  • #​13950: Fix sporadic errors about rubocop-rails or rubocop-performance extraction, even if they are already part of the Gemfile. ([@​earlopain][])
  • #​13981: Prevent redundant plugin loading when a duplicate plugin is specified in an inherited config. ([@​koic][])
  • #​13965: Update Lint/RedundantCopDisableDirective to register an offense when cop names are given with improper casing. ([@​dvandersluis][])
  • #​13948: Fix wrong autocorrect for Style/RescueModifier when using parallel assignment and the right-hand-side is not a bracketed array. ([@​earlopain][])
Changes
  • #​12851: Add EnforcedStyleForClasses and EnforcedStyleForModules configuration options to Style/ClassAndModuleChildren. ([@​dvandersluis][])
  • #​13979: Add Mode: conservative configuration to Style/FormatStringToken to make the cop only register offenses for strings given to printf, sprintf, format, and %. ([@​dvandersluis][])
  • #​13977: Allow TLS1_1 and TLS1_2 by default in Naming/VariableNumber to accommodate OpenSSL version parameter names. ([@​koic][])
  • #​13967: Make Lint/RedundantTypeConversion aware of redundant to_d. ([@​koic][])

v1.73.2

Compare Source

Bug fixes
  • #​13942: Fix incorrect disabling of departments when inheriting configuration. ([@​koic][])
  • #​13766: Fix false positives for Style/InverseMethods when using any? or none? with safe navigation operator. ([@​koic][])
  • #​13938: Fix false positives for Style/RedundantCondition when a variable or a constant is used. ([@​koic][])
  • #​13935: Fix a false negative for Style/RedundantFreeze when calling methods that produce frozen objects with numblocks. ([@​earlopain][])
  • #​13928: Fix end pattern with unmatched parenthesis: / (RegexpError) on Ruby 3.2.0. ([@​dvandersluis][])
  • #​13933: Fix wrong autocorrect for Style/KeywordParametersOrder when the arguments are on multiple lines and contain comments. ([@​earlopain][])
Changes

v1.73.1

Compare Source

Bug fixes
  • #​13920: Fix an error for Lint/MixedCaseRange when /[[ ]]/ is used. ([@​koic][])
  • #​13912: Fix wrong autocorrect for Lint/EmptyConditionalBody when assigning to a variable with only a single branch. ([@​earlopain][])
  • #​13913: Fix false positives for Style/RedundantCondition when using when true is used as the true branch and the condition is not a predicate method. ([@​koic][])
  • #​13909: Fix false positive with Layout/ClosingParenthesisIndentation when first parameter is a hash. ([@​tejasbubane][])
  • #​13915: Fix writing generics type of rbs-inline annotation for nested class in Style/CommentedKeyword. ([@​dak2][])
  • #​13916: Fix Lint/LiteralAsCondition acting on the right hand side of && nodes. ([@​zopolis4][])

v1.73.0

Compare Source

New features
Bug fixes
  • #​13867: Fix an error for plugins when not running RuboCop through Bundler. ([@​earlopain][])
  • #​13902: Fix false negative for Style/RedundantSelfAssignment when the method receives a block. ([@​vlad-pisanov][])
  • #​13826: Fix false positives for regex cops when Lint/MixedCaseRange is enabled. ([@​earlopain][])
  • #​13818: Fix false positives for Lint/Void when using operator method call without argument. ([@​koic][])
  • #​13896: Fix a false positive for Style/TrivialAccessors with instance_eval and numblocks. ([@​earlopain][])
  • #​13910: Fix false positives for Style/EndlessMethod when using setter method definitions. ([@​koic][])
  • #​13889: Fix autocorrection for Layout/LineLength with interpolated strings when not on the first line. ([@​dvandersluis][])
  • #​13900: Fix infinite loop between Layout/EmptyLinesAroundAccessModifier and Layout/EmptyLinesAroundBlockBody with EnforcedStyle: no_empty_lines. ([@​dvandersluis][])
  • #​12692: Fix Style/AccessorGrouping with constants. ([@​tejasbubane][])
  • #​13882: Fix Style/RedundantFormat for annotated template strings with missing hash keys. ([@​dvandersluis][])
  • #​13880: Fix Style/RedundantFormat when given double-splatted arguments. ([@​dvandersluis][])
  • #​13907: Don't offer autocorrect for Style/StringConcatenation when numblocks are used. ([@​earlopain][])
  • #​13876: Don't consider require 'pp' to be redundant for Lint/RedundantRequireStatement. ([@​earlopain][])
  • #​13885: Update Style/HashExcept and Style/HashSlice to not register an offense if selecting over the hash value. ([@​dvandersluis][])
Changes
  • #​12948: Add ForbiddenNames configuration to Naming/VariableName to specify names that are forbidden. ([@​dvandersluis][])
  • #​13117: Add partial autocorrect support to Lint/LiteralAsCondition cop to check for redundant conditions. ([@​zopolis4][])
  • #​13892: Allow merging of configured arrays and non-arrays. ([@​sambostock][])
  • #​13833: Add Reference to common params. ([@​sambostock][])
  • #​13890: Update Lint/RedundantTypeConversion to not register an offense when given a constructor with exception: false. ([@​dvandersluis][])
  • #​13729: Update Style/RedundantCondition cop to detect conditional expressions where the true branch is true and suggest replacing them with a logical OR. ([@​datpmt][])

v1.72.2

Compare Source

Bug fixes
  • #​13853: Fix exclusion of relative paths in plugin's AllCops: Exclude as expected. ([@​koic][])
  • #​13844: Fix an error for Style/RedundantFormat when a template argument is used without keyword arguments. ([@​koic][])
  • #​13857: Fix an error for Style/RedundantFormat when numeric placeholders is used in the template argument. ([@​koic][])
  • #​13861: Fix ArgumentError related to two deprecated AllowedPattern APIs. ([@​koic][])
  • #​13849: Fix an error for Lint/UselessConstantScoping when multiple assigning to constants after private access modifier. ([@​koic][])
  • #​13856: Fix false positives for Lint/UselessConstantScoping when a constant is used after private access modifier with arguments. ([@​koic][])
Changes

v1.72.1

Compare Source

Bug fixes
  • #​13836: Fix an error for Style/RedundantParentheses when a different expression appears before a range literal. ([@​koic][])
  • #​13839: Fix false positives for Lint/RedundantTypeConversion when passing block arguments when generating a Hash or a Set. ([@​koic][])
Changes
  • #​13839: Extension plugin is loaded automatically with `require 'rubocop/rspec/support'. ([@​koic][])

v1.72.0

Compare Source

New features
Bug fixes
  • #​13807: Fix false negatives for Style/RedundantParentheses when chaining [] method calls. ([@​koic][])
  • #​13788: Fix false negatives for Style/RedundantParentheses when [] method is called with variable or constant receivers. ([@​koic][])
  • #​13811: Fix false negatives for Style/RedundantParentheses when handling range literals with redundant parentheses. ([@​koic][])
  • #​13796: Fix crash in Layout/EmptyLinesAroundMethodBody for endless methods. ([@​dvandersluis][])
  • #​13817: Fix false positive for format specifier with non-numeric precision. ([@​dvandersluis][])
  • #​12672: Fix false positives for Lint/FormatParameterMismatch when the width value is interpolated. ([@​dvandersluis][])
  • #​12795: Fix Layout/BlockAlignment for blocks that are the body of an endless method. ([@​dvandersluis][])
  • #​13822: Fix undefined method Logger when processing watched file notifications. ([@​vinistock][])
  • #​13805: Make the language_server-protocol dependency version stricter. ([@​koic][])

v1.71.2

Compare Source

Bug fixes
  • #​13782: Fix an error Layout/ElseAlignment when else is part of a numblock. ([@​earlopain][])
  • #​13395: Fix a false positive for Lint/UselessAssignment when assigning in branch and block. ([@​pCosta99][])
  • #​13783: Fix a false positive for Lint/Void when each numblock with conditional expressions that has multiple statements. ([@​earlopain][])
  • #​13787: Fix incorrect autocorrect for Style/ExplicitBlockArgument when using arguments of zsuper in method definition. ([@​koic][])
  • #​13785: Fix Style/EachWithObject cop error in case of single block argument. ([@​viralpraxis][])
  • #​13781: Fix a false positive for Lint/UnmodifiedReduceAccumulator when omitting the accumulator in a nested numblock. ([@​earlopain][])

v1.71.1

Compare Source

Bug fixes
  • #​10081: Add the missing include RuboCop::RSpec::ExpectOffense in rubocop/rspec/support.rb. ([@​d4rky-pl][])
  • #​13765: Fix a false negative for Lint/AmbiguousBlockAssociation with numblocks. ([@​earlopain][])
  • #​13759: Fix a false negative for Lint/ConstantDefinitionInBlock with numblocks. ([@​earlopain][])
  • #​13741: Register an offense for Naming/BlockForwarding and Style/ArgumentsForwarding with Ruby >= 3.4 when the block argument is referenced inside a block. This was previously disabled because of a bug in Ruby 3.3.0. ([@​earlopain][])
  • #​13777: Fix a false negative for Layout/EmptyLineBetweenDefs with DefLikeMacros and numblocks. ([@​earlopain][])
  • #​13769: Fix a false negative for Style/RedundantParentheses with numblocks. ([@​earlopain][])
  • #​13780: Fix a false positive Style/AccessModifierDeclarations when using access modifier in a numblock. ([@​earlopain][])
  • #​13775: Fix a false positive for Lint/AssignmentInCondition when assigning in numblocks. ([@​earlopain][])
  • #​13773: Fix false positives for Layout/RedundantLineBreak when using numbered block parameter. ([@​koic][])
  • #​13761: Fix a false positive for Style/SuperArguments when calling super in a numblock. ([@​earlopain][])
  • #​13768: Fix a false positive for Lint/UnreachableCode with instance_eval numblock. ([@​earlopain][])
  • #​13750: Fix false positives for Style/RedundantSelfAssignment when assigning to attribute of self. ([@​koic][])
  • #​13739: Fix false positive for Style/HashExcept and Style/HashSlice when checking for inclusion with a range. ([@​dvandersluis][])
  • #​13751: Fix false positive in Layout/ExtraSpacing with ForceEqualSignAlignment: true for endless methods. ([@​dvandersluis][])
  • #​13767: Fix Style/IdenticalConditionalBranches autocorrect when condition is inside assignment. ([@​dvandersluis][])
  • #​13764: Fix a false negative for Layout/SingleLineBlockChain with numblocks. ([@​earlopain][])
  • #​13771: Fix wrong autocorrect for Style/SoleNestedConditional when using numblocks. ([@​earlopain][])

v1.71.0

Compare Source

New features
Bug fixes
  • #​13684: Fix a false positive for Style/FrozenStringLiteralComment when using the frozen string literal magic comment in Active Admin's arb files. ([@​koic][])
  • #​13372: Add rubocop_cache to the path given by --cache-root when pruning cache. ([@​capncavedan][])
  • #​13257: Fix department disable/enable comments enabling the cop for the whole file even if that file is excluded by the cop. ([@​earlopain][])
  • #​13704: Fix false positives for Lint/OutOfRangeRegexpRef when matching with match using safe navigation. ([@​koic][])
  • #​13720: Fix false positives for Style/BlockDelimiters when using brace blocks as conditions under EnforcedStyle: semantic. ([@​koic][])
  • #​13688: Fix false negative on Style/RedundantLineContinuation when the continuation is preceded by an interpolated string. ([@​dvandersluis][])
  • #​13677: Fix false negative on Style/RedundantLineContinuation when the continuation is followed by a percent array. ([@​dvandersluis][])
  • #​13692: Fix false positive in Style/RedundantLineContinuation when the ruby code ends with a commented continuation. ([@​dvandersluis][])
  • #​13675: Fix invalid autocorrect for Style/ArrayFirstLast when calling .[] or &.[] with 0 or -1. ([@​dvandersluis][])
  • #​13685: Fix syntax error introduced by Lint/SafeNavigationChain when adding safe navigation to an operator call inside a hash. ([@​dvandersluis][])
  • #​13725: Fix an incorrect autocorrect for Style/IfUnlessModifier when using omitted hash values in an assignment. ([@​elliottt][])
  • #​13667: Maintain precedence in autocorrect for Style/SoleNestedConditional. ([@​tejasbubane][])
  • #​13679: Fix false positive for Style/RedundantLineContinuation when calling methods with fully qualified constants. ([@​earlopain][])
  • #​13728: Fix a RuboCop error on provided glob pattern which matches directory. ([@​viralpraxis][])
  • #​13693: Fix Style/ConditionalAssignment cop error on unless without else and assign_inside_condition enforced style. ([@​viralpraxis][])
  • #​13669: Fix Style/FrozenStringLiteralComment cop error on unnormalized magic comment and never enforced style. ([@​viralpraxis][])
  • #​13696: Update Metrics/CollectionLiteralLength to only register for [] when called on Set. ([@​dvandersluis][])
Changes

v1.70.0

Compare Source

New features
Bug fixes
  • #​13589: Fix Lint/NonAtomicFileOperation to detect offenses with fully qualified constants. ([@​viralpraxis][])
  • #​13630: Fix CLI --format option to accept fully qualified formatter class names. ([@​viralpraxis][])
  • #​13624: Don't show warnings from Lint/Syntax when a syntax error occurs. ([@​earlopain][])
  • #​13605: Fix RuboCop::Cop::Util.to_string_literal to work correctly with frozen strings. ([@​viralpraxis][])
  • #​12393: Fix false negatives for Lint/Void inside of non-modifier conditionals. ([@​GabeIsman][])
  • #​13623: Fix false negatives for Style/MultipleComparison when setting AllowMethodComparison: false and comparing with simple method calls. ([@​koic][])
  • #​13644: Fix a false positive for Layout/EmptyLinesAroundAccessModifier when an access modifier and an expression are on the same line. ([@​koic][])
  • #​13645: Fix a false positive for Style/MethodCallWithArgsParentheses when setting EnforcedStyle: omit_parentheses and last argument is an endless range. ([@​earlopain][])
  • #​13614: Fix false positives for Style/RaiseArgs with anonymous splat and triple dot forwarding. ([@​earlopain][])
  • #​13591: Fix false positives for Lint/NestedMethodDefinition when defining a method on a constant or a method call. ([@​koic][])
  • #​13594: Fix false positives for Style/MultipleComparison when using multiple safe navigation method calls. ([@​koic][])
  • #​13654: Fix false positives for Style/RedundantInitialize when empty initialize method has arguments. ([@​marocchino][])
  • #​13608: Fix crash when running rubocop -d on a config with a remote inherit_from that causes a duplicate setting warning. ([@​dvandersluis][])
  • #​12430: Fix false negatives in Style/RedundantLineContinuation with multiple line continuations. ([@​dvandersluis][])
  • #​13638: Fix false positive for Naming/BlockForwarding when method just returns the block argument. ([@​mvz][])
  • #​13599: Fix incorrect autocorrect for Layout/HashAlignment when there is a multiline positional argument and Layout/ArgumentAlignment is configured with EnforcedStyle: with_fixed_indentation. ([@​dvandersluis][])
  • #​13586: Fix regression in Layout/SpaceAroundOperators when different comparison operators were aligned with each other. ([@​dvandersluis][])
  • #​13603: Fix Lint/LiteralInInterpolation cop error on invalid string literal. ([@​viralpraxis][])
  • #​13582: Fix Lint/NonAtomicFileOperation cop error on non-constant receiver. ([@​viralpraxis][])
  • #​13598: Fix Lint/Void cop error on if without body. ([@​viralpraxis][])
  • #​13634: Fix Style/ClassAndModuleChildren cop error on compact enforced style and unindented body. ([@​viralpraxis][])
  • #​13642: Fix Style/FloatDivision cop error if #to_f has implicit receiver. ([@​viralpraxis][])
  • #​13517: Fixes Style/HashExcept to recognize safe navigation when ActiveSupportExtensionsEnabled config is enabled. ([@​lovro-bikic][])
  • #​13585: Fix Style/HashSyntax cop error on implicit call method. ([@​viralpraxis][])
  • #​13632: Fix Style/MissingElse cop error if Style/EmptyElse's EnforcedStyle is not both and if expression contains elsif. ([@​viralpraxis][])
  • #​13659: Fix Style/MissingElse cop error if Style/EmptyElse's EnforcedStyle is not both and if expression contains multiple elsif. ([@​viralpraxis][])
  • #​13596: Fix Style/RedundantCondition cop error on parentheses and modifier if in else. ([@​viralpraxis][])
  • #​13616: Fix incorrect autocorrect for Style/RedundantRegexpArgument when the regex contains a single quote. ([@​mrzasa][])
  • #​13619: Fix Style/YodaExpression cop error in case of suffix form of operator. ([@​viralpraxis][])
  • #​13578: Update Layout/LineContinuationSpacing to ignore continuations inside a regexp or xstr. ([@​dvandersluis][])
  • #​13601: Update Style/SuperArguments to handle super with a block or with a chained method with a block. ([@​dvandersluis][])
  • #​13568: Fix NoMethodError in ConfigValidator when a Cop's config is not a Hash and raise ValidationError instead. ([@​amomchilov][])
Changes

v1.69.2

Compare Source

Bug fixes
  • #​13553: Fix an incorrect autocorrect for Style/MultipleComparison when a variable is compared multiple times after a method call. ([@​koic][])
  • #​13562: Fix Bundler/DuplicatedGem cop error in case of empty branch. ([@​viralpraxis][])
  • #​13573: Fix Lint/UnescapedBracketInRegexp cop failure with invalid multibyte escape. ([@​earlopain][])
  • #​13556: Fix false positives for Style/FileNull when using 'nul' string. ([@​koic][])
  • #​12995: Fix --disable-uncorrectable to not insert directives inside a string. ([@​dvandersluis][])
  • #​13320: Fix incorrect autocorrect when Layout/LineContinuationLeadingSpace and Style/StringLiterals autocorrects in the same pass. ([@​dvandersluis][])
  • #​13299: Fix Style/BlockDelimiters to always accept braces when an operator method argument is chained. ([@​dvandersluis][])
  • #​13565: Fix Style/RedundantLineContinuation false negatives when a redundant continuation follows a required continuation. ([@​dvandersluis][])
  • #​13551: Fix an incorrect autocorrect for Style/IfWithSemicolon when using multi value assignment in if with a semicolon is used. ([@​koic][])
  • #​13534: Fix Layout/LineLength cop failure in case of YARD-comment-like string. ([@​viralpraxis][])
  • #​13558: Fix Lint/NonAtomicFileOperation cop error in case of implicit receiver. ([@​viralpraxis][])
  • #​13564: Fix Metrics/ClassLength cop error in case of chained assignments. ([@​viralpraxis][])
  • #​13570: Fix Naming/RescuedExceptionsVariableName cop error when exception is assigned with writer method. ([@​viralpraxis][])
  • #​13559: Fix a false positive for Style/RedundantLineContinuation when a method definition is used as an argument for a method call. ([@​davidrunger][])
  • #​13574: Fix Style/ExactRegexpMatch cop error on invalid regular expression literal. ([@​viralpraxis][])
  • #​13554: Fix Style/FrozenStringLiteralComment false positive in case of non-downcased value literal. ([@​viralpraxis][])
  • #​13569: Fix Style/MethodCallWithoutArgsParentheses cop error in case of mass hash assignment. ([@​viralpraxis][])
  • #​13542: Fix Style/RedundantCondition cop failure in case of empty arguments. ([@​viralpraxis][])
  • #​13509: Update Layout/ExtraSpacing and Layout/SpaceAroundOperators to handle preceding operators inside strings. ([@​dvandersluis][])

v1.69.1

Compare Source

Bug fixes
  • #​13502: Fix an incorrect autocorrect for Style/DigChain when using safe navigation method chain with dig method. ([@​koic][])
  • #​13505: Fix an error for Style/ParallelAssignment when using the anonymous splat operator. ([@​earlopain][])
  • #​13184: Fix some false positives in Lint/UnreachableCode. ([@​isuckatcs][])
  • #​13494: Fix false positives for Style/HashExcept cop when using reject/!include?, reject/!in? or select/!exclude? combinations. ([@​lovro-bikic][])
  • #​13522: Fix Lint/UnescapedBracketInRegexp cop failure with invalid regular expression. ([@​viralpraxis][])
  • #​13523: Fix Style::AccessModifierDeclarations cop failure in case of if node without else. ([@​viralpraxis][])
  • #​13524: Fix Style/RedundantArgument cop failure while inspecting string literal with invalid encoding. ([@​viralpraxis][])
  • #​13528: Fix Style/RedundantParentheses cop failure in case of splatted case node without condition. ([@​viralpraxis][])
  • #​13521: Fix Style/RedundantSelf cop failure with kwnilarg argument node. ([@​viralpraxis][])
  • #​13526: Fix Style/StringConcatenation cop failure when there are mixed implicit and explicit concatenations. ([@​viralpraxis][])
  • #​13511: Fix false positive in Lint/UnescapedBracketInRegexp when using regexp_parser 2.9.2 and earlier. ([@​dvandersluis][])
  • #​13096: Update Style/BlockDelimiters to not change braces when they are required for syntax. ([@​dvandersluis][])
  • #​13512: Update Style/LambdaCall to be aware of safe navigation. ([@​dvandersluis][])

v1.69.0

Compare Source

New features
Bug fixes
  • #​13455: Fix a false positive for Layout/EmptyLineAfterGuardClause when using a guard clause outside oneliner block. ([@​koic][])
  • #​13412: Fix a false positive for Style/RedundantLineContinuation when there is a line continuation at the end of Ruby code followed by __END__ data. ([@​koic][])
  • #​13476: Allow to write generics type of RBS::Inline annotation after subclass definition in Style/CommentedKeyword. ([@​dak2][])
  • #​13441: Fix an incorrect autocorrect for Style/IfWithSemicolon when using return with value in if with a semicolon is used. ([@​koic][])
  • #​13448: Fix an incorrect autocorrect for Style/IfWithSemicolon when the then body contains an arithmetic operator method call with an argument. ([@​koic][])
  • #​13199: Make Style/RedundantCondition skip autocorrection when a branch has a comment. ([@​koic][])
  • #​13411: Fix Style/BitwisePredicate when having regular method. ([@​d4be4st][])
  • #​13432: Fix false positive for `L

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.

@renovate renovate bot changed the title chore(deps): update dependency rubocop to v1.69.0 chore(deps): update dependency rubocop to v1.69.1 Dec 3, 2024
@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch from 0ffc799 to 168a651 Compare December 3, 2024 11:24
@renovate renovate bot changed the title chore(deps): update dependency rubocop to v1.69.1 chore(deps): update dependency rubocop to v1.69.2 Dec 12, 2024
@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch 2 times, most recently from b9be217 to 0279aa7 Compare December 15, 2024 03:08
@renovate renovate bot changed the title chore(deps): update dependency rubocop to v1.69.2 chore(deps): update dependency rubocop to v1.70.0 Jan 10, 2025
@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch from 0279aa7 to 5434b73 Compare January 10, 2025 16:21
@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch from 5434b73 to 860e635 Compare January 22, 2025 18:55
@renovate renovate bot changed the title chore(deps): update dependency rubocop to v1.70.0 chore(deps): update dependency rubocop to v1.71.0 Jan 22, 2025
@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch from 860e635 to 6a82824 Compare January 24, 2025 21:33
@renovate renovate bot changed the title chore(deps): update dependency rubocop to v1.71.0 chore(deps): update dependency rubocop to v1.71.1 Jan 31, 2025
@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch 2 times, most recently from abcc8d3 to c0298d9 Compare February 4, 2025 12:17
@renovate renovate bot changed the title chore(deps): update dependency rubocop to v1.71.1 chore(deps): update dependency rubocop to v1.71.2 Feb 4, 2025
@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch from c0298d9 to 9ef6c83 Compare February 14, 2025 17:08
@renovate renovate bot changed the title chore(deps): update dependency rubocop to v1.71.2 chore(deps): update dependency rubocop to v1.72.0 Feb 14, 2025
@renovate renovate bot changed the title chore(deps): update dependency rubocop to v1.72.0 chore(deps): update dependency rubocop to v1.72.1 Feb 15, 2025
@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch from 9ef6c83 to f862ace Compare February 15, 2025 16:38
@renovate renovate bot changed the title chore(deps): update dependency rubocop to v1.72.1 chore(deps): update dependency rubocop to v1.72.2 Feb 17, 2025
@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch from f862ace to 1401928 Compare February 17, 2025 16:47
@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch from 1401928 to cb6da1d Compare February 26, 2025 09:57
@renovate renovate bot changed the title chore(deps): update dependency rubocop to v1.72.2 chore(deps): update dependency rubocop to v1.73.0 Feb 26, 2025
@renovate renovate bot changed the title chore(deps): update dependency rubocop to v1.73.0 chore(deps): update dependency rubocop to v1.73.1 Feb 27, 2025
@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch 2 times, most recently from f7dee94 to 2cfdc6a Compare March 4, 2025 08:40
@renovate renovate bot changed the title chore(deps): update dependency rubocop to v1.73.1 chore(deps): update dependency rubocop to v1.73.2 Mar 4, 2025
@renovate renovate bot force-pushed the renovate/rubocop-1.x-lockfile branch from 2cfdc6a to 4d17c0e Compare March 13, 2025 13:25
@renovate renovate bot changed the title chore(deps): update dependency rubocop to v1.73.2 chore(deps): update dependency rubocop to v1.74.0 Mar 13, 2025
Copy link
Member

bukinoshita commented Mar 20, 2025

Merge activity

  • Mar 20, 4:34 PM EDT: The merge label 'merge-queue' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Mar 20, 4:34 PM EDT: A user added this pull request to the Graphite merge queue.
  • Mar 20, 4:36 PM EDT: A user merged this pull request with the Graphite merge queue.

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [rubocop](https://rubocop.org/) ([source](https://redirect.github.com/rubocop/rubocop), [changelog](https://redirect.github.com/rubocop/rubocop/releases/tag/v1.74.0)) | `1.68.0` -> `1.74.0` | [![age](https://developer.mend.io/api/mc/badges/age/rubygems/rubocop/1.74.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/rubygems/rubocop/1.74.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/rubygems/rubocop/1.68.0/1.74.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/rubygems/rubocop/1.68.0/1.74.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>rubocop/rubocop (rubocop)</summary>

### [`v1.74.0`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1740-2025-03-13)

[Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.73.2...v1.74.0)

##### New features

-   [#&#8203;13936](https://redirect.github.com/rubocop/rubocop/pull/13936): Adds new cop `Style/ComparableBetween`. (\[[@&#8203;lovro-bikic](https://redirect.github.com/lovro-bikic)]\[])
-   [#&#8203;13943](https://redirect.github.com/rubocop/rubocop/pull/13943): Allow writing steep annotation to method definition for `Style/CommentedKeyword`. (\[[@&#8203;dak2](https://redirect.github.com/dak2)]\[])

##### Bug fixes

-   [#&#8203;13969](https://redirect.github.com/rubocop/rubocop/issues/13969): Fix a false positive for `Lint/SharedMutableDefault` when `capacity` keyword argument is used. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13945](https://redirect.github.com/rubocop/rubocop/pull/13945): Fix a false positive for `Style/DoubleNegation` when calling `define_method`/`define_singleton_method` with a numblock. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13971](https://redirect.github.com/rubocop/rubocop/pull/13971): Fix false alarm for config obsoletion. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13960](https://redirect.github.com/rubocop/rubocop/pull/13960): Fix a false negative for `Lint/ReturnInVoidContext` when returning out of a block. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13947](https://redirect.github.com/rubocop/rubocop/pull/13947): Fix a false negative for `Lint/UselessConstantScoping` for constants defined in `class << self`. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13949](https://redirect.github.com/rubocop/rubocop/pull/13949): Fix a false negative for `Lint/NonLocalExitFromIterator` with numblocks. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13975](https://redirect.github.com/rubocop/rubocop/issues/13975): Fix false positives for `Style/RedundantCurrentDirectoryInPath` when using a complex current directory path in `require_relative`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13963](https://redirect.github.com/rubocop/rubocop/issues/13963): Fix wrong autocorrect for `Lint/LiteralAsCondition` when the literal is followed by `return`, `break`, or `next`. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13946](https://redirect.github.com/rubocop/rubocop/pull/13946): Fix some false positives for `Style/MethodCallWithArgsParentheses` with `EnforcedStyle: omit_parentheses` style and numblocks. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13950](https://redirect.github.com/rubocop/rubocop/pull/13950): Fix sporadic errors about `rubocop-rails` or `rubocop-performance` extraction, even if they are already part of the Gemfile. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13981](https://redirect.github.com/rubocop/rubocop/pull/13981): Prevent redundant plugin loading when a duplicate plugin is specified in an inherited config. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13965](https://redirect.github.com/rubocop/rubocop/issues/13965): Update `Lint/RedundantCopDisableDirective` to register an offense when cop names are given with improper casing. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13948](https://redirect.github.com/rubocop/rubocop/pull/13948): Fix wrong autocorrect for `Style/RescueModifier` when using parallel assignment and the right-hand-side is not a bracketed array. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])

##### Changes

-   [#&#8203;12851](https://redirect.github.com/rubocop/rubocop/issues/12851): Add `EnforcedStyleForClasses` and `EnforcedStyleForModules` configuration options to `Style/ClassAndModuleChildren`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13979](https://redirect.github.com/rubocop/rubocop/pull/13979): Add `Mode: conservative` configuration to `Style/FormatStringToken` to make the cop only register offenses for strings given to `printf`, `sprintf`, `format`, and `%`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13977](https://redirect.github.com/rubocop/rubocop/issues/13977): Allow `TLS1_1` and `TLS1_2` by default in `Naming/VariableNumber` to accommodate OpenSSL version parameter names. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13967](https://redirect.github.com/rubocop/rubocop/pull/13967): Make `Lint/RedundantTypeConversion` aware of redundant `to_d`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])

### [`v1.73.2`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1732-2025-03-04)

[Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.73.1...v1.73.2)

##### Bug fixes

-   [#&#8203;13942](https://redirect.github.com/rubocop/rubocop/pull/13942): Fix incorrect disabling of departments when inheriting configuration. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13766](https://redirect.github.com/rubocop/rubocop/issues/13766): Fix false positives for `Style/InverseMethods` when using `any?` or `none?` with safe navigation operator. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13938](https://redirect.github.com/rubocop/rubocop/pull/13938): Fix false positives for `Style/RedundantCondition` when a variable or a constant is used. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13935](https://redirect.github.com/rubocop/rubocop/pull/13935): Fix a false negative for `Style/RedundantFreeze` when calling methods that produce frozen objects with numblocks. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13928](https://redirect.github.com/rubocop/rubocop/issues/13928): Fix `end pattern with unmatched parenthesis: / (RegexpError)` on Ruby 3.2.0. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13933](https://redirect.github.com/rubocop/rubocop/issues/13933): Fix wrong autocorrect for `Style/KeywordParametersOrder` when the arguments are on multiple lines and contain comments. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])

##### Changes

-   [#&#8203;12669](https://redirect.github.com/rubocop/rubocop/issues/12669): Update autocorrection for `Lint/EmptyConditionalBody` to be safe. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])

### [`v1.73.1`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1731-2025-02-27)

[Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.73.0...v1.73.1)

##### Bug fixes

-   [#&#8203;13920](https://redirect.github.com/rubocop/rubocop/issues/13920): Fix an error for `Lint/MixedCaseRange` when `/[[ ]]/` is used. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13912](https://redirect.github.com/rubocop/rubocop/pull/13912): Fix wrong autocorrect for `Lint/EmptyConditionalBody` when assigning to a variable with only a single branch. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13913](https://redirect.github.com/rubocop/rubocop/issues/13913): Fix false positives for `Style/RedundantCondition` when using when true is used as the true branch and the condition is not a predicate method. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13909](https://redirect.github.com/rubocop/rubocop/issues/13909): Fix false positive with `Layout/ClosingParenthesisIndentation` when first parameter is a hash. (\[[@&#8203;tejasbubane](https://redirect.github.com/tejasbubane)]\[])
-   [#&#8203;13915](https://redirect.github.com/rubocop/rubocop/pull/13915): Fix writing generics type of rbs-inline annotation for nested class in `Style/CommentedKeyword`. (\[[@&#8203;dak2](https://redirect.github.com/dak2)]\[])
-   [#&#8203;13916](https://redirect.github.com/rubocop/rubocop/issues/13916): Fix `Lint/LiteralAsCondition` acting on the right hand side of && nodes. (\[[@&#8203;zopolis4](https://redirect.github.com/zopolis4)]\[])

### [`v1.73.0`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1730-2025-02-26)

[Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.72.2...v1.73.0)

##### New features

-   [#&#8203;11024](https://redirect.github.com/rubocop/rubocop/issues/11024): Add `require_always` option to `Style/EndlessMethod`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;11024](https://redirect.github.com/rubocop/rubocop/issues/11024): Add `require_single_line` option to `Style/EndlessMethod`. (\[[@&#8203;jtannas](https://redirect.github.com/jtannas)]\[])
-   [#&#8203;9935](https://redirect.github.com/rubocop/rubocop/issues/9935): Introduce EnforcedStyleForMultiline "diff_comma". (\[[@&#8203;flavorjones](https://redirect.github.com/flavorjones)]\[])

##### Bug fixes

-   [#&#8203;13867](https://redirect.github.com/rubocop/rubocop/issues/13867): Fix an error for plugins when not running RuboCop through Bundler. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13902](https://redirect.github.com/rubocop/rubocop/pull/13902): Fix false negative for `Style/RedundantSelfAssignment` when the method receives a block. (\[[@&#8203;vlad-pisanov](https://redirect.github.com/vlad-pisanov)]\[])
-   [#&#8203;13826](https://redirect.github.com/rubocop/rubocop/issues/13826): Fix false positives for regex cops when `Lint/MixedCaseRange` is enabled. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13818](https://redirect.github.com/rubocop/rubocop/issues/13818): Fix false positives for `Lint/Void` when using operator method call without argument. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13896](https://redirect.github.com/rubocop/rubocop/pull/13896): Fix a false positive for `Style/TrivialAccessors` with `instance_eval` and numblocks. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13910](https://redirect.github.com/rubocop/rubocop/pull/13910): Fix false positives for `Style/EndlessMethod` when using setter method definitions. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13889](https://redirect.github.com/rubocop/rubocop/pull/13889): Fix autocorrection for `Layout/LineLength` with interpolated strings when not on the first line. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13900](https://redirect.github.com/rubocop/rubocop/issues/13900): Fix infinite loop between `Layout/EmptyLinesAroundAccessModifier` and `Layout/EmptyLinesAroundBlockBody` with `EnforcedStyle: no_empty_lines`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;12692](https://redirect.github.com/rubocop/rubocop/issues/12692): Fix `Style/AccessorGrouping` with constants. (\[[@&#8203;tejasbubane](https://redirect.github.com/tejasbubane)]\[])
-   [#&#8203;13882](https://redirect.github.com/rubocop/rubocop/issues/13882): Fix `Style/RedundantFormat` for annotated template strings with missing hash keys. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13880](https://redirect.github.com/rubocop/rubocop/issues/13880): Fix `Style/RedundantFormat` when given double-splatted arguments. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13907](https://redirect.github.com/rubocop/rubocop/pull/13907): Don't offer autocorrect for `Style/StringConcatenation` when numblocks are used. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13876](https://redirect.github.com/rubocop/rubocop/issues/13876): Don't consider `require 'pp'` to be redundant for `Lint/RedundantRequireStatement`. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13885](https://redirect.github.com/rubocop/rubocop/issues/13885): Update `Style/HashExcept` and `Style/HashSlice` to not register an offense if selecting over the hash value. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])

##### Changes

-   [#&#8203;12948](https://redirect.github.com/rubocop/rubocop/issues/12948): Add `ForbiddenNames` configuration to `Naming/VariableName` to specify names that are forbidden. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13117](https://redirect.github.com/rubocop/rubocop/issues/13117): Add partial autocorrect support to `Lint/LiteralAsCondition` cop to check for redundant conditions. (\[[@&#8203;zopolis4](https://redirect.github.com/zopolis4)]\[])
-   [#&#8203;13892](https://redirect.github.com/rubocop/rubocop/pull/13892): Allow merging of configured arrays and non-arrays. (\[[@&#8203;sambostock](https://redirect.github.com/sambostock)]\[])
-   [#&#8203;13833](https://redirect.github.com/rubocop/rubocop/pull/13833): Add `Reference` to common params. (\[[@&#8203;sambostock](https://redirect.github.com/sambostock)]\[])
-   [#&#8203;13890](https://redirect.github.com/rubocop/rubocop/pull/13890): Update `Lint/RedundantTypeConversion` to not register an offense when given a constructor with `exception: false`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13729](https://redirect.github.com/rubocop/rubocop/pull/13729): Update `Style/RedundantCondition` cop to detect conditional expressions where the true branch is `true` and suggest replacing them with a logical OR. (\[[@&#8203;datpmt](https://redirect.github.com/datpmt)]\[])

### [`v1.72.2`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1722-2025-02-17)

[Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.72.1...v1.72.2)

##### Bug fixes

-   [#&#8203;13853](https://redirect.github.com/rubocop/rubocop/pull/13853): Fix exclusion of relative paths in plugin's `AllCops: Exclude` as expected. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13844](https://redirect.github.com/rubocop/rubocop/issues/13844): Fix an error for `Style/RedundantFormat` when a template argument is used without keyword arguments. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13857](https://redirect.github.com/rubocop/rubocop/pull/13857): Fix an error for `Style/RedundantFormat` when numeric placeholders is used in the template argument. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13861](https://redirect.github.com/rubocop/rubocop/issues/13861): Fix `ArgumentError` related to two deprecated `AllowedPattern` APIs. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13849](https://redirect.github.com/rubocop/rubocop/issues/13849): Fix an error for `Lint/UselessConstantScoping` when multiple assigning to constants after `private` access modifier. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13856](https://redirect.github.com/rubocop/rubocop/issues/13856): Fix false positives for `Lint/UselessConstantScoping` when a constant is used after `private` access modifier with arguments. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])

##### Changes

-   [#&#8203;13846](https://redirect.github.com/rubocop/rubocop/issues/13846): Mark `Style/RedundantFormat` as unsafe autocorrect. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])

### [`v1.72.1`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1721-2025-02-15)

[Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.72.0...v1.72.1)

##### Bug fixes

-   [#&#8203;13836](https://redirect.github.com/rubocop/rubocop/issues/13836): Fix an error for `Style/RedundantParentheses` when a different expression appears before a range literal. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13839](https://redirect.github.com/rubocop/rubocop/issues/13839): Fix false positives for `Lint/RedundantTypeConversion` when passing block arguments when generating a Hash or a Set. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])

##### Changes

-   [#&#8203;13839](https://redirect.github.com/rubocop/rubocop/pull/13839): Extension plugin is loaded automatically with \`require 'rubocop/rspec/support'. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])

### [`v1.72.0`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1720-2025-02-14)

[Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.71.2...v1.72.0)

##### New features

-   [#&#8203;13740](https://redirect.github.com/rubocop/rubocop/pull/13740): Add new `Lint/CopDirectiveSyntax` cop. (\[[@&#8203;kyanagi](https://redirect.github.com/kyanagi)]\[])
-   [#&#8203;13800](https://redirect.github.com/rubocop/rubocop/issues/13800): Add new `Lint/SuppressedExceptionInNumberConversion` cop. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13702](https://redirect.github.com/rubocop/rubocop/pull/13702): Add new `Lint/RedundantTypeConversion` cop. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13831](https://redirect.github.com/rubocop/rubocop/pull/13831): Add new `Lint/UselessConstantScoping` cop. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13793](https://redirect.github.com/rubocop/rubocop/pull/13793): Add new `Style/RedundantFormat` cop to check for uses of `format` or `sprintf` with only a single string argument. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13581](https://redirect.github.com/rubocop/rubocop/pull/13581): Add new `InternalAffairs/LocationExists` cop to check for code that can be replaced with `Node#loc?` or `Node#loc_is?`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13661](https://redirect.github.com/rubocop/rubocop/issues/13661): Make server mode detect local paths in .rubocop.yml under `inherit_from` and `require` for automatically restart. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13721](https://redirect.github.com/rubocop/rubocop/pull/13721): `Naming/PredicateName`: Optionally use Sorbet to detect predicate methods. (\[[@&#8203;issyl0](https://redirect.github.com/issyl0)]\[])
-   [#&#8203;6012](https://redirect.github.com/rubocop/rubocop/issues/6012): Support RuboCop extension plugin. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])

##### Bug fixes

-   [#&#8203;13807](https://redirect.github.com/rubocop/rubocop/issues/13807): Fix false negatives for `Style/RedundantParentheses` when chaining `[]` method calls. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13788](https://redirect.github.com/rubocop/rubocop/issues/13788): Fix false negatives for `Style/RedundantParentheses` when `[]` method is called with variable or constant receivers. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13811](https://redirect.github.com/rubocop/rubocop/issues/13811): Fix false negatives for `Style/RedundantParentheses` when handling range literals with redundant parentheses. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13796](https://redirect.github.com/rubocop/rubocop/pull/13796): Fix crash in `Layout/EmptyLinesAroundMethodBody` for endless methods. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13817](https://redirect.github.com/rubocop/rubocop/pull/13817): Fix false positive for format specifier with non-numeric precision. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;12672](https://redirect.github.com/rubocop/rubocop/issues/12672): Fix false positives for `Lint/FormatParameterMismatch` when the width value is interpolated. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;12795](https://redirect.github.com/rubocop/rubocop/issues/12795): Fix `Layout/BlockAlignment` for blocks that are the body of an endless method. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13822](https://redirect.github.com/rubocop/rubocop/pull/13822): Fix undefined method Logger when processing watched file notifications. (\[[@&#8203;vinistock](https://redirect.github.com/vinistock)]\[])
-   [#&#8203;13805](https://redirect.github.com/rubocop/rubocop/pull/13805): Make the language_server-protocol dependency version stricter. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])

### [`v1.71.2`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1712-2025-02-04)

[Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.71.1...v1.71.2)

##### Bug fixes

-   [#&#8203;13782](https://redirect.github.com/rubocop/rubocop/pull/13782): Fix an error `Layout/ElseAlignment` when `else` is part of a numblock. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13395](https://redirect.github.com/rubocop/rubocop/issues/13395): Fix a false positive for `Lint/UselessAssignment` when assigning in branch and block. (\[[@&#8203;pCosta99](https://redirect.github.com/pCosta99)]\[])
-   [#&#8203;13783](https://redirect.github.com/rubocop/rubocop/pull/13783): Fix a false positive for `Lint/Void` when `each` numblock with conditional expressions that has multiple statements. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13787](https://redirect.github.com/rubocop/rubocop/issues/13787): Fix incorrect autocorrect for `Style/ExplicitBlockArgument` when using arguments of `zsuper` in method definition. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13785](https://redirect.github.com/rubocop/rubocop/pull/13785): Fix `Style/EachWithObject` cop error in case of single block argument. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13781](https://redirect.github.com/rubocop/rubocop/pull/13781): Fix a false positive for `Lint/UnmodifiedReduceAccumulator` when omitting the accumulator in a nested numblock. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])

### [`v1.71.1`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1711-2025-01-31)

[Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.71.0...v1.71.1)

##### Bug fixes

-   [#&#8203;10081](https://redirect.github.com/rubocop/rubocop/issues/10081): Add the missing `include RuboCop::RSpec::ExpectOffense` in rubocop/rspec/support.rb. (\[[@&#8203;d4rky-pl](https://redirect.github.com/d4rky-pl)]\[])
-   [#&#8203;13765](https://redirect.github.com/rubocop/rubocop/pull/13765): Fix a false negative for `Lint/AmbiguousBlockAssociation` with numblocks. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13759](https://redirect.github.com/rubocop/rubocop/pull/13759): Fix a false negative for `Lint/ConstantDefinitionInBlock` with numblocks. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13741](https://redirect.github.com/rubocop/rubocop/pull/13741): Register an offense for `Naming/BlockForwarding` and `Style/ArgumentsForwarding` with Ruby >= 3.4 when the block argument is referenced inside a block. This was previously disabled because of a bug in Ruby 3.3.0. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13777](https://redirect.github.com/rubocop/rubocop/pull/13777): Fix a false negative for `Layout/EmptyLineBetweenDefs` with `DefLikeMacros` and numblocks. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13769](https://redirect.github.com/rubocop/rubocop/pull/13769): Fix a false negative for `Style/RedundantParentheses` with numblocks. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13780](https://redirect.github.com/rubocop/rubocop/pull/13780): Fix a false positive `Style/AccessModifierDeclarations` when using access modifier in a numblock. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13775](https://redirect.github.com/rubocop/rubocop/pull/13775): Fix a false positive for `Lint/AssignmentInCondition` when assigning in numblocks. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13773](https://redirect.github.com/rubocop/rubocop/pull/13773): Fix false positives for `Layout/RedundantLineBreak` when using numbered block parameter. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13761](https://redirect.github.com/rubocop/rubocop/pull/13761): Fix a false positive for `Style/SuperArguments` when calling super in a numblock. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13768](https://redirect.github.com/rubocop/rubocop/pull/13768): Fix a false positive for `Lint/UnreachableCode` with `instance_eval` numblock. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13750](https://redirect.github.com/rubocop/rubocop/issues/13750): Fix false positives for `Style/RedundantSelfAssignment` when assigning to attribute of `self`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13739](https://redirect.github.com/rubocop/rubocop/issues/13739): Fix false positive for `Style/HashExcept` and `Style/HashSlice` when checking for inclusion with a range. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13751](https://redirect.github.com/rubocop/rubocop/issues/13751): Fix false positive in `Layout/ExtraSpacing` with `ForceEqualSignAlignment: true` for endless methods. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13767](https://redirect.github.com/rubocop/rubocop/pull/13767): Fix `Style/IdenticalConditionalBranches` autocorrect when condition is inside assignment. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13764](https://redirect.github.com/rubocop/rubocop/pull/13764): Fix a false negative for `Layout/SingleLineBlockChain` with numblocks. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13771](https://redirect.github.com/rubocop/rubocop/pull/13771): Fix wrong autocorrect for `Style/SoleNestedConditional` when using numblocks. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])

### [`v1.71.0`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1710-2025-01-22)

[Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.70.0...v1.71.0)

##### New features

-   [#&#8203;13735](https://redirect.github.com/rubocop/rubocop/pull/13735): Add new `Lint/ArrayLiteralInRegexp` cop. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13507](https://redirect.github.com/rubocop/rubocop/pull/13507): Add new `Style/HashSlice` cop. (\[[@&#8203;lovro-bikic](https://redirect.github.com/lovro-bikic)]\[])

##### Bug fixes

-   [#&#8203;13684](https://redirect.github.com/rubocop/rubocop/issues/13684): Fix a false positive for `Style/FrozenStringLiteralComment` when using the frozen string literal magic comment in Active Admin's arb files. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13372](https://redirect.github.com/rubocop/rubocop/issues/13372): Add `rubocop_cache` to the path given by `--cache-root` when pruning cache. (\[[@&#8203;capncavedan](https://redirect.github.com/capncavedan)]\[])
-   [#&#8203;13257](https://redirect.github.com/rubocop/rubocop/issues/13257): Fix department disable/enable comments enabling the cop for the whole file even if that file is excluded by the cop. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13704](https://redirect.github.com/rubocop/rubocop/issues/13704): Fix false positives for `Lint/OutOfRangeRegexpRef` when matching with `match` using safe navigation. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13720](https://redirect.github.com/rubocop/rubocop/issues/13720): Fix false positives for `Style/BlockDelimiters` when using brace blocks as conditions under `EnforcedStyle: semantic`. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13688](https://redirect.github.com/rubocop/rubocop/issues/13688): Fix false negative on `Style/RedundantLineContinuation` when the continuation is preceded by an interpolated string. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13677](https://redirect.github.com/rubocop/rubocop/issues/13677): Fix false negative on `Style/RedundantLineContinuation` when the continuation is followed by a percent array. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13692](https://redirect.github.com/rubocop/rubocop/pull/13692): Fix false positive in `Style/RedundantLineContinuation` when the ruby code ends with a commented continuation. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13675](https://redirect.github.com/rubocop/rubocop/pull/13675): Fix invalid autocorrect for `Style/ArrayFirstLast` when calling `.[]` or `&.[]` with 0 or -1. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13685](https://redirect.github.com/rubocop/rubocop/issues/13685): Fix syntax error introduced by `Lint/SafeNavigationChain` when adding safe navigation to an operator call inside a hash. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13725](https://redirect.github.com/rubocop/rubocop/issues/13725): Fix an incorrect autocorrect for `Style/IfUnlessModifier` when using omitted hash values in an assignment. (\[[@&#8203;elliottt](https://redirect.github.com/elliottt)]\[])
-   [#&#8203;13667](https://redirect.github.com/rubocop/rubocop/issues/13667): Maintain precedence in autocorrect for `Style/SoleNestedConditional`. (\[[@&#8203;tejasbubane](https://redirect.github.com/tejasbubane)]\[])
-   [#&#8203;13679](https://redirect.github.com/rubocop/rubocop/issues/13679): Fix false positive for `Style/RedundantLineContinuation` when calling methods with fully qualified constants. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13728](https://redirect.github.com/rubocop/rubocop/pull/13728): Fix a RuboCop error on provided glob pattern which matches directory. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13693](https://redirect.github.com/rubocop/rubocop/pull/13693): Fix `Style/ConditionalAssignment` cop error on `unless` without `else` and `assign_inside_condition` enforced style. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13669](https://redirect.github.com/rubocop/rubocop/pull/13669): Fix `Style/FrozenStringLiteralComment` cop error on unnormalized magic comment and `never` enforced style. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13696](https://redirect.github.com/rubocop/rubocop/pull/13696): Update `Metrics/CollectionLiteralLength` to only register for `[]` when called on `Set`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])

##### Changes

-   [#&#8203;13709](https://redirect.github.com/rubocop/rubocop/pull/13709): Add support for safe navigation to `Lint/FloatComparison`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13711](https://redirect.github.com/rubocop/rubocop/pull/13711): Add support for safe navigation to `Layout/MultilineMethodCallBraceLayout`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13712](https://redirect.github.com/rubocop/rubocop/pull/13712): Add support for safe navigation to `Layout/MultilineMethodArgumentLineBreaks`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13714](https://redirect.github.com/rubocop/rubocop/pull/13714): Add support for safe navigation to `Security/CompoundHash`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13674](https://redirect.github.com/rubocop/rubocop/pull/13674): Add support for safe navigation to `Style/BlockDelimiters`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13673](https://redirect.github.com/rubocop/rubocop/pull/13673): Add support for safe navigation to `Style/CollectionMethods`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13672](https://redirect.github.com/rubocop/rubocop/pull/13672): Add support for safe navigation to `Style/MapToSet`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13671](https://redirect.github.com/rubocop/rubocop/pull/13671): Add support for safe navigation to `Style/MethodCallWithoutArgsParentheses`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13701](https://redirect.github.com/rubocop/rubocop/pull/13701): Add support for safe navigation to `Lint/NumericOperationWithConstantResult`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13700](https://redirect.github.com/rubocop/rubocop/pull/13700): Add support for safe navigation to `Lint/RedundantStringCoercion`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13698](https://redirect.github.com/rubocop/rubocop/pull/13698): Add support for safe navigation to `Lint/UselessNumericOperation`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13686](https://redirect.github.com/rubocop/rubocop/pull/13686): Add wildcard support to `--show-cops`. (\[[@&#8203;kyanagi](https://redirect.github.com/kyanagi)]\[])
-   [#&#8203;13724](https://redirect.github.com/rubocop/rubocop/pull/13724): Make `Style/RedundantParentheses` aware of parenthesized assignment. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13732](https://redirect.github.com/rubocop/rubocop/pull/13732): Update `Style/RedundantLineContinuation` to handle required continuations following `super`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])

### [`v1.70.0`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1700-2025-01-10)

[Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.69.2...v1.70.0)

##### New features

-   [#&#8203;13474](https://redirect.github.com/rubocop/rubocop/pull/13474): Add new `Style/ItAssignment` cop to detect local assignments to `it` inside blocks. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;11013](https://redirect.github.com/rubocop/rubocop/issues/11013): Add new `Lint/SharedMutableDefault` cop to alert on mutable Hash defaults. (\[[@&#8203;corsonknowles](https://redirect.github.com/corsonknowles)]\[])
-   [#&#8203;13612](https://redirect.github.com/rubocop/rubocop/pull/13612): Create new cop `Lint/ConstantReassignment`. (\[[@&#8203;lovro-bikic](https://redirect.github.com/lovro-bikic)]\[])
-   [#&#8203;13628](https://redirect.github.com/rubocop/rubocop/pull/13628): Make LSP server support quick fix code action. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13607](https://redirect.github.com/rubocop/rubocop/pull/13607): Support passing the target ruby version through an environment variable. (\[[@&#8203;elliottt](https://redirect.github.com/elliottt)]\[])
-   [#&#8203;13628](https://redirect.github.com/rubocop/rubocop/pull/13628): Add support for Ruby LSP as a built-in add-on. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13284](https://redirect.github.com/rubocop/rubocop/issues/13284): Add new `target_gem_version` API to change behavior of a cop at runtime depending on which gem version is present. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])

##### Bug fixes

-   [#&#8203;13589](https://redirect.github.com/rubocop/rubocop/pull/13589): Fix `Lint/NonAtomicFileOperation` to detect offenses with fully qualified constants. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13630](https://redirect.github.com/rubocop/rubocop/pull/13630): Fix CLI `--format` option to accept fully qualified formatter class names. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13624](https://redirect.github.com/rubocop/rubocop/pull/13624): Don't show warnings from `Lint/Syntax` when a syntax error occurs. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13605](https://redirect.github.com/rubocop/rubocop/pull/13605): Fix `RuboCop::Cop::Util.to_string_literal` to work correctly with frozen strings. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;12393](https://redirect.github.com/rubocop/rubocop/issues/12393): Fix false negatives for `Lint/Void` inside of non-modifier conditionals. (\[[@&#8203;GabeIsman](https://redirect.github.com/GabeIsman)]\[])
-   [#&#8203;13623](https://redirect.github.com/rubocop/rubocop/issues/13623): Fix false negatives for `Style/MultipleComparison` when setting `AllowMethodComparison: false` and comparing with simple method calls. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13644](https://redirect.github.com/rubocop/rubocop/pull/13644): Fix a false positive for `Layout/EmptyLinesAroundAccessModifier` when an access modifier and an expression are on the same line. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13645](https://redirect.github.com/rubocop/rubocop/issues/13645): Fix a false positive for `Style/MethodCallWithArgsParentheses` when setting `EnforcedStyle: omit_parentheses` and last argument is an endless range. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13614](https://redirect.github.com/rubocop/rubocop/issues/13614): Fix false positives for `Style/RaiseArgs` with anonymous splat and triple dot forwarding. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13591](https://redirect.github.com/rubocop/rubocop/pull/13591): Fix false positives for `Lint/NestedMethodDefinition` when defining a method on a constant or a method call. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13594](https://redirect.github.com/rubocop/rubocop/pull/13594): Fix false positives for `Style/MultipleComparison` when using multiple safe navigation method calls. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13654](https://redirect.github.com/rubocop/rubocop/pull/13654): Fix false positives for `Style/RedundantInitialize` when empty initialize method has arguments. (\[[@&#8203;marocchino](https://redirect.github.com/marocchino)]\[])
-   [#&#8203;13608](https://redirect.github.com/rubocop/rubocop/pull/13608): Fix crash when running `rubocop -d` on a config with a remote `inherit_from` that causes a duplicate setting warning. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;12430](https://redirect.github.com/rubocop/rubocop/issues/12430): Fix false negatives in `Style/RedundantLineContinuation` with multiple line continuations. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13638](https://redirect.github.com/rubocop/rubocop/pull/13638): Fix false positive for `Naming/BlockForwarding` when method just returns the block argument. (\[[@&#8203;mvz](https://redirect.github.com/mvz)]\[])
-   [#&#8203;13599](https://redirect.github.com/rubocop/rubocop/issues/13599): Fix incorrect autocorrect for `Layout/HashAlignment` when there is a multiline positional argument and `Layout/ArgumentAlignment` is configured with `EnforcedStyle: with_fixed_indentation`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13586](https://redirect.github.com/rubocop/rubocop/issues/13586): Fix regression in `Layout/SpaceAroundOperators` when different comparison operators were aligned with each other. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13603](https://redirect.github.com/rubocop/rubocop/pull/13603): Fix `Lint/LiteralInInterpolation` cop error on invalid string literal. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13582](https://redirect.github.com/rubocop/rubocop/pull/13582): Fix `Lint/NonAtomicFileOperation` cop error on non-constant receiver. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13598](https://redirect.github.com/rubocop/rubocop/pull/13598): Fix `Lint/Void` cop error on `if` without body. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13634](https://redirect.github.com/rubocop/rubocop/pull/13634): Fix `Style/ClassAndModuleChildren` cop error on `compact` enforced style and unindented body. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13642](https://redirect.github.com/rubocop/rubocop/pull/13642): Fix `Style/FloatDivision` cop error if `#to_f` has implicit receiver. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13517](https://redirect.github.com/rubocop/rubocop/pull/13517): Fixes `Style/HashExcept` to recognize safe navigation when `ActiveSupportExtensionsEnabled` config is enabled. (\[[@&#8203;lovro-bikic](https://redirect.github.com/lovro-bikic)]\[])
-   [#&#8203;13585](https://redirect.github.com/rubocop/rubocop/pull/13585): Fix `Style/HashSyntax` cop error on implicit `call` method. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13632](https://redirect.github.com/rubocop/rubocop/pull/13632): Fix `Style/MissingElse` cop error if `Style/EmptyElse`'s `EnforcedStyle` is not `both` and `if` expression contains `elsif`. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13659](https://redirect.github.com/rubocop/rubocop/pull/13659): Fix `Style/MissingElse` cop error if `Style/EmptyElse`'s `EnforcedStyle` is not `both` and `if` expression contains multiple `elsif`. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13596](https://redirect.github.com/rubocop/rubocop/pull/13596): Fix `Style/RedundantCondition` cop error on parentheses and modifier `if` in `else`. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13616](https://redirect.github.com/rubocop/rubocop/pull/13616): Fix incorrect autocorrect for `Style/RedundantRegexpArgument` when the regex contains a single quote. (\[[@&#8203;mrzasa](https://redirect.github.com/mrzasa)]\[])
-   [#&#8203;13619](https://redirect.github.com/rubocop/rubocop/pull/13619): Fix `Style/YodaExpression` cop error in case of suffix form of operator. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13578](https://redirect.github.com/rubocop/rubocop/issues/13578): Update `Layout/LineContinuationSpacing` to ignore continuations inside a `regexp` or `xstr`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13601](https://redirect.github.com/rubocop/rubocop/issues/13601): Update `Style/SuperArguments` to handle `super` with a block or with a chained method with a block. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13568](https://redirect.github.com/rubocop/rubocop/pull/13568): Fix `NoMethodError` in `ConfigValidator` when a Cop's config is not a `Hash` and raise `ValidationError` instead. (\[[@&#8203;amomchilov](https://redirect.github.com/amomchilov)]\[])

##### Changes

-   [#&#8203;13665](https://redirect.github.com/rubocop/rubocop/pull/13665): Add support for safe navigation to `Style/ObjectThen`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13657](https://redirect.github.com/rubocop/rubocop/pull/13657): Add support for safe navigation to `Layout/HashAlignment`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13656](https://redirect.github.com/rubocop/rubocop/pull/13656): Add support for safe navigation to `Layout/HeredocArgumentClosingParenthesis`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13655](https://redirect.github.com/rubocop/rubocop/pull/13655): Add support for safe navigation to `Layout/LineLength`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13662](https://redirect.github.com/rubocop/rubocop/pull/13662): Add support for safe navigation to `Style/SendWithLiteralMethodName`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13557](https://redirect.github.com/rubocop/rubocop/issues/13557): Fix false positives for `Lint/NumericOperationWithConstantResult`. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13658](https://redirect.github.com/rubocop/rubocop/pull/13658): Fix invalid autocorrect for `Style/SlicingWithRange` when calling `.[]` or `&.[]` with a correctable range. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13548](https://redirect.github.com/rubocop/rubocop/pull/13548): Enhance `Lint/DuplicateSetElement` to detect offences within `SortedSet`. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13646](https://redirect.github.com/rubocop/rubocop/pull/13646): Update `Layout/TrailingWhitespace` to support blank characters other than space and tab. (\[[@&#8203;krororo](https://redirect.github.com/krororo)]\[])
-   [#&#8203;13652](https://redirect.github.com/rubocop/rubocop/pull/13652): Update `Metrics/MethodLength` to make use of `AllowedMethods` and `AllowedPatterns` for methods defined dynamically with `define_method`. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13606](https://redirect.github.com/rubocop/rubocop/issues/13606): Update `Style/AccessModifierDeclarations` to add `AllowModifiersOnAliasMethod` configuration (default `true`). (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13663](https://redirect.github.com/rubocop/rubocop/pull/13663): Update `Style/RedundantSelfAssignment` to handle safe navigation on the right-hand side of the assignment. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])

### [`v1.69.2`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1692-2024-12-12)

[Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.69.1...v1.69.2)

##### Bug fixes

-   [#&#8203;13553](https://redirect.github.com/rubocop/rubocop/issues/13553): Fix an incorrect autocorrect for `Style/MultipleComparison` when a variable is compared multiple times after a method call. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13562](https://redirect.github.com/rubocop/rubocop/pull/13562): Fix `Bundler/DuplicatedGem` cop error in case of empty branch. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13573](https://redirect.github.com/rubocop/rubocop/pull/13573): Fix `Lint/UnescapedBracketInRegexp` cop failure with invalid multibyte escape. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13556](https://redirect.github.com/rubocop/rubocop/issues/13556): Fix false positives for `Style/FileNull` when using `'nul'` string. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;12995](https://redirect.github.com/rubocop/rubocop/issues/12995): Fix `--disable-uncorrectable` to not insert directives inside a string. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13320](https://redirect.github.com/rubocop/rubocop/issues/13320): Fix incorrect autocorrect when `Layout/LineContinuationLeadingSpace` and `Style/StringLiterals` autocorrects in the same pass. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13299](https://redirect.github.com/rubocop/rubocop/issues/13299): Fix `Style/BlockDelimiters` to always accept braces when an operator method argument is chained. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13565](https://redirect.github.com/rubocop/rubocop/pull/13565): Fix `Style/RedundantLineContinuation` false negatives when a redundant continuation follows a required continuation. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13551](https://redirect.github.com/rubocop/rubocop/pull/13551): Fix an incorrect autocorrect for `Style/IfWithSemicolon` when using multi value assignment in `if` with a semicolon is used. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13534](https://redirect.github.com/rubocop/rubocop/pull/13534): Fix `Layout/LineLength` cop failure in case of YARD-comment-like string. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13558](https://redirect.github.com/rubocop/rubocop/pull/13558): Fix `Lint/NonAtomicFileOperation` cop error in case of implicit receiver. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13564](https://redirect.github.com/rubocop/rubocop/pull/13564): Fix `Metrics/ClassLength` cop error in case of chained assignments. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13570](https://redirect.github.com/rubocop/rubocop/pull/13570): Fix `Naming/RescuedExceptionsVariableName` cop error when exception is assigned with writer method. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13559](https://redirect.github.com/rubocop/rubocop/pull/13559): Fix a false positive for `Style/RedundantLineContinuation` when a method definition is used as an argument for a method call. (\[[@&#8203;davidrunger](https://redirect.github.com/davidrunger)]\[])
-   [#&#8203;13574](https://redirect.github.com/rubocop/rubocop/pull/13574): Fix `Style/ExactRegexpMatch` cop error on invalid regular expression literal. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13554](https://redirect.github.com/rubocop/rubocop/pull/13554): Fix `Style/FrozenStringLiteralComment` false positive in case of non-downcased value literal. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13569](https://redirect.github.com/rubocop/rubocop/pull/13569): Fix `Style/MethodCallWithoutArgsParentheses` cop error in case of mass hash assignment. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13542](https://redirect.github.com/rubocop/rubocop/pull/13542): Fix `Style/RedundantCondition` cop failure in case of empty arguments. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13509](https://redirect.github.com/rubocop/rubocop/issues/13509): Update `Layout/ExtraSpacing` and `Layout/SpaceAroundOperators` to handle preceding operators inside strings. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])

### [`v1.69.1`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1691-2024-12-03)

[Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.69.0...v1.69.1)

##### Bug fixes

-   [#&#8203;13502](https://redirect.github.com/rubocop/rubocop/issues/13502): Fix an incorrect autocorrect for `Style/DigChain` when using safe navigation method chain with `dig` method. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13505](https://redirect.github.com/rubocop/rubocop/issues/13505): Fix an error for `Style/ParallelAssignment` when using the anonymous splat operator. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])
-   [#&#8203;13184](https://redirect.github.com/rubocop/rubocop/pull/13184): Fix some false positives in  `Lint/UnreachableCode`. (\[[@&#8203;isuckatcs](https://redirect.github.com/isuckatcs)]\[])
-   [#&#8203;13494](https://redirect.github.com/rubocop/rubocop/pull/13494): Fix false positives for `Style/HashExcept` cop when using `reject/!include?`, `reject/!in?` or `select/!exclude?` combinations. (\[[@&#8203;lovro-bikic](https://redirect.github.com/lovro-bikic)]\[])
-   [#&#8203;13522](https://redirect.github.com/rubocop/rubocop/pull/13522): Fix `Lint/UnescapedBracketInRegexp` cop failure with invalid regular expression. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13523](https://redirect.github.com/rubocop/rubocop/pull/13523): Fix `Style::AccessModifierDeclarations` cop failure in case of `if` node without `else`. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13524](https://redirect.github.com/rubocop/rubocop/pull/13524): Fix `Style/RedundantArgument` cop failure while inspecting string literal with invalid encoding. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13528](https://redirect.github.com/rubocop/rubocop/pull/13528): Fix `Style/RedundantParentheses` cop failure in case of splatted `case` node without condition. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13521](https://redirect.github.com/rubocop/rubocop/pull/13521): Fix `Style/RedundantSelf` cop failure with `kwnilarg` argument node. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13526](https://redirect.github.com/rubocop/rubocop/pull/13526): Fix `Style/StringConcatenation` cop failure when there are mixed implicit and explicit concatenations. (\[[@&#8203;viralpraxis](https://redirect.github.com/viralpraxis)]\[])
-   [#&#8203;13511](https://redirect.github.com/rubocop/rubocop/issues/13511): Fix false positive in `Lint/UnescapedBracketInRegexp` when using regexp_parser 2.9.2 and earlier. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13096](https://redirect.github.com/rubocop/rubocop/issues/13096): Update `Style/BlockDelimiters` to not change braces when they are required for syntax. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13512](https://redirect.github.com/rubocop/rubocop/pull/13512): Update `Style/LambdaCall` to be aware of safe navigation. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])

### [`v1.69.0`](https://redirect.github.com/rubocop/rubocop/blob/HEAD/CHANGELOG.md#1690-2024-11-26)

[Compare Source](https://redirect.github.com/rubocop/rubocop/compare/v1.68.0...v1.69.0)

##### New features

-   [#&#8203;13439](https://redirect.github.com/rubocop/rubocop/pull/13439): Add new `Lint/HashNewWithKeywordArgumentsAsDefault` cop. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;11191](https://redirect.github.com/rubocop/rubocop/issues/11191): Add new `Lint/NumericOperationWithConstantResult` cop. (\[[@&#8203;zopolis4](https://redirect.github.com/zopolis4)]\[])
-   [#&#8203;13486](https://redirect.github.com/rubocop/rubocop/issues/13486): Add new `Style/DigChain` cop. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13490](https://redirect.github.com/rubocop/rubocop/issues/13490): Add new `Style/FileNull` cop. (\[[@&#8203;dvandersluis](https://redirect.github.com/dvandersluis)]\[])
-   [#&#8203;13484](https://redirect.github.com/rubocop/rubocop/pull/13484): Add new `Style/FileTouch` cop. (\[[@&#8203;lovro-bikic](https://redirect.github.com/lovro-bikic)]\[])
-   [#&#8203;13437](https://redirect.github.com/rubocop/rubocop/issues/13437): Add a new cop `Lint/UselessDefined` to detect cases such as `defined?('Foo')` when `defined?(Foo)` was intended. (\[[@&#8203;earlopain](https://redirect.github.com/earlopain)]\[])

##### Bug fixes

-   [#&#8203;13455](https://redirect.github.com/rubocop/rubocop/pull/13455): Fix a false positive for `Layout/EmptyLineAfterGuardClause` when using a guard clause outside oneliner block. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13412](https://redirect.github.com/rubocop/rubocop/issues/13412): Fix a false positive for `Style/RedundantLineContinuation` when there is a line continuation at the end of Ruby code followed by `__END__` data. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13476](https://redirect.github.com/rubocop/rubocop/pull/13476): Allow to write generics type of RBS::Inline annotation after subclass definition in `Style/CommentedKeyword`. (\[[@&#8203;dak2](https://redirect.github.com/dak2)]\[])
-   [#&#8203;13441](https://redirect.github.com/rubocop/rubocop/pull/13441): Fix an incorrect autocorrect for `Style/IfWithSemicolon` when using `return` with value in `if` with a semicolon is used. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13448](https://redirect.github.com/rubocop/rubocop/pull/13448): Fix an incorrect autocorrect for `Style/IfWithSemicolon` when the then body contains an arithmetic operator method call with an argument. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13199](https://redirect.github.com/rubocop/rubocop/issues/13199): Make `Style/RedundantCondition` skip autocorrection when a branch has a comment. (\[[@&#8203;koic](https://redirect.github.com/koic)]\[])
-   [#&#8203;13411](https://redirect.github.com/rubocop/rubocop/pull/13411): Fix `Style/BitwisePredicate` when having regular method. (\[[@&#8203;d4be4st](https://redirect.github.com/d4be4st)]\[])
-   [#&#8203;13432](https://redirect.github.com/rubocop/rubocop/pull/13432): Fix false positive for `L

</details>

---

### 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.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/resend/resend-ruby).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTk0LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
@graphite-app graphite-app bot force-pushed the renovate/rubocop-1.x-lockfile branch from 4d17c0e to 041e1bc Compare March 20, 2025 20:34
@graphite-app graphite-app bot merged commit 041e1bc into main Mar 20, 2025
9 checks passed
@graphite-app graphite-app bot deleted the renovate/rubocop-1.x-lockfile branch March 20, 2025 20:36
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