Repository navigation
Update dependency rubocop to v1.93.0 - #343
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
November 17, 2026 21:11
70e51d3 to
2a16b67
Compare
renovate
Bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
November 25, 2026 19:52
2a16b67 to
f4a4ae5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
1.91.0→1.93.0Release Notes
rubocop/rubocop (rubocop)
v1.93.0Compare Source
New features
InternalAffairs/InvalidNodePatterncop. ([@bbatsov][])InternalAffairs/NodeSearchAsConditioncop. ([@bbatsov][])InternalAffairs/RedundantAutocorrectIncompatibleWithcop. ([@bbatsov][])prismvalue ofAllCops: ParserEngine, which builds the AST from Prism without its parser translation layer. ([@bbatsov][])Bug fixes
Layout/FirstArgumentIndentationwhen the outer method call uses safe navigation. ([@bbatsov][])Style/ArrayCoercionwhen checking against::Array. ([@bbatsov][])Style/FetchEnvVarwhen using::ENV. ([@bbatsov][])Style/RedundantInterpolationUnfreezewhen using::String.new. ([@bbatsov][])Style/RedundantSortwhensort_bywith a block argument and an index method are called with safe navigation. ([@bbatsov][])Gemspec/RubyVersionGlobalsUsagewhen the file has no gem specification. ([@bbatsov][])Lint/DuplicateRequirewhenrequireis called on a namespaced constant namedKernel. ([@bbatsov][])Lint/ShadowingOuterLocalVariablewhen using::Ractor.new. ([@bbatsov][])Lint/UselessDefaultValueArgumentwhennewis called on a namespaced constant namedArray. ([@bbatsov][])Style/EmptyClassDefinitionwhennewis called on a namespaced constant namedClass. ([@bbatsov][])Layout/LineLengthwith a heredoc before a multiline endless method body. ([@bbatsov][])Layout/LineLengthwith an endless method with a heredoc. ([@Starlexxx][])Lint/NonAtomicFileOperationwiththen. ([@koic][])Lint/RedundantCopDisableDirectivewith a cop that becomes redundant after a correction. ([@koic][])Lint/RedundantStringCoercionwith a heredoc in the receiver. ([@koic][])Lint/RequireRelativeSelfPathwhen the value of the require is used. ([@bbatsov][])Lint/RequireRelativeSelfPathwith code on the same line. ([@Starlexxx][])Lint/UselessAssignmentwith the first argument of a method call without parentheses. ([@koic][])Lint/UselessTimeswith a heredoc or arescueclause in the block. ([@bbatsov][])Lint/UselessTimeswith an inconsistently indented body. ([@koic][])Style/EmptyClassDefinitionwith ado...endblock command call. ([@koic][])Style/EmptyMethodwith a heredoc. ([@Starlexxx][])Style/FileWritewith code after a heredoc argument. ([@koic][])Style/Forwith a trailing comma in the loop variable. ([@Starlexxx][])Style/MultilineMethodSignaturewithStyle/MethodDefParentheses. ([@koic][])Style/MultilineTernaryOperatorwith a heredoc. ([@koic][])Style/NonNilCheckwith a heredoc opened before the receiver. ([@bbatsov][])Style/OperatorMethodCallwithStyle/TrailingCommaInArguments. ([@Starlexxx][])Style/OperatorMethodCallwith a trailing comma. ([@Starlexxx][])Style/RaiseArgswith a trailing comma after a heredoc. ([@koic][])Style/RedundantArrayConstructorwithStyle/TrailingCommaInArguments. ([@Starlexxx][])Style/RedundantArrayConstructorwith a comment or heredoc outside the array literal. ([@Starlexxx][])Style/RedundantBeginwith code after a modifier condition. ([@koic][])Style/RedundantEachwith.eachon its own line. ([@bbatsov][])Style/RedundantExceptionwith a heredoc or comment in the removed source. ([@Starlexxx][])Style/RedundantInitializewith a method definition used as a value. ([@koic][])Style/RedundantInterpolationUnfreezewithStyle/TrailingCommaInArguments. ([@koic][])Style/StructInheritanceandStyle/DataInheritancewith code afterend. ([@koic][])Layout/EmptyLinesAroundAccessModifierwith a conditional access modifier in a block. ([@koic][])Layout/EmptyLinesAroundClassBodyandLayout/EmptyLinesAroundModuleBodywith a statement on the class line. ([@koic][])Style/DigChain. ([@Starlexxx][])Style/RedundantRegexpConstructor. ([@Starlexxx][])Style/EachWithObjectwhennextchanges the accumulator. ([@Starlexxx][])Style/ArgumentsForwardingwhen anonymous arguments are all forwarded in a singleton method or with safe navigation. ([@bbatsov][])Style/FileReadwhen the block uses a numbered parameter orit. ([@bbatsov][])Style/FileWritewhen the block uses a numbered parameter orit. ([@bbatsov][])Style/HashTransformKeysandStyle/HashTransformValueswhen the receiver is a block that uses a numbered parameter orit. ([@bbatsov][])Lint/DuplicateMethodswhen a method is redefined afterundef,undef_method, orremove_method. ([@APX403][])Style/HashTransformKeysandStyle/HashTransformValueswhen[]is called on a namespaced constant namedHash. ([@bbatsov][])endwhenStyle/SoleNestedConditionalmerges conditions. ([@Starlexxx][])elseline inStyle/NegatedIfElseCondition. ([@Starlexxx][])Style/RedundantPercentQwithStyle/RedundantStringEscape. ([@Starlexxx][])Style/ArrayIntersectcorrections. ([@Starlexxx][])Style/NilComparisoncorrections. ([@Starlexxx][])Style/NonNilCheckcorrections. ([@Starlexxx][])Style/RedundantInterpolationcorrections. ([@Starlexxx][])Style/SingleArgumentDig. ([@Starlexxx][])Lint/NumberConversioncorrections. ([@Starlexxx][])Lint/LambdaWithoutLiteralBlock. ([@Starlexxx][])Lint/UselessNumericOperation. ([@Starlexxx][])Style/RedundantSelfAssignment. ([@Starlexxx][])Style/SwapValuescorrections. ([@Starlexxx][])breakinStyle/NilLambda. ([@Starlexxx][])Style/RedundantEach. ([@Starlexxx][])Lint/UselessTimes. ([@Starlexxx][])TargetRubyVersionnot being validated in a configuration file given with--config. ([@bbatsov][])Changes
ParserEnginethat cannot parse the target Ruby version, or that needs theparsergem when it is not installed, as a configuration error instead of a backtrace. ([@bbatsov][])prismthe default parser engine for Ruby 3.3+ when Prism 2.0 or later is installed. ([@bbatsov][])Cop::Base#parseuse the Ruby version and the parser engine of the source under investigation. ([@bbatsov][])ParserEngineisparser_whitequark. ([@bbatsov][])rubocop -Vshow the parser engine that is used whenAllCops: ParserEngineis not set. ([@bbatsov][])v1.92.3Compare Source
Bug fixes
Layout/ExtraSpacingwhen uniformly padded tokens are aligned with differently spaced tokens in the same column. ([@Don-Yin][])Style/ParenthesesAroundConditionwith multiple expressions separated by a line break. ([@APX403][])Layout/EmptyLinesAroundExceptionHandlingKeywordswith an endless method. ([@Starlexxx][])Layout/FirstArgumentIndentationwith an inner call without parentheses. ([@koic][])Layout/MultilineArrayBraceLayoutwith an escaped newline as the last element. ([@koic][])Layout/MultilineMethodCallIndentationwith an implicitcall. ([@koic][])Lint/DuplicateMethodswith a non-symboldelegateoption key. ([@Starlexxx][])Lint/LiteralAsConditionwith a literal condition nested in a corrected node. ([@koic][])Lint/LiteralInInterpolationwith a beginless or endless range. ([@koic][])Lint/UselessAssignmentwith a non-ASCII named capture. ([@maoxor][])Lint/UselessAssignmentwith an operator assignment in a top level block call. ([@koic][])Naming/RescuedExceptionsVariableNamewith a method call onbegin. ([@koic][])Style/AccessModifierDeclarationswith code on the same line. ([@koic][])Style/ClassAndModuleChildrenwith a misaligned innerend. ([@koic][])Style/ClassMethodsDefinitionswith a method on theclass << selfline. ([@koic][])Style/EmptyStringInsideInterpolationwith anifwithoutelse. ([@koic][])Style/EndlessMethodwith a nested method definition. ([@koic][])Style/Forwith aforin the collection of anotherfor. ([@Starlexxx][])Style/Forwith aneachblock in the receiver. ([@koic][])Style/GuardClausewith empty parentheses as the body. ([@koic][])Style/HashFetchChainwhen the lastfetchhas no parentheses. ([@koic][])Style/Lambdawith a lambda in a default argument value. ([@koic][])Style/NonNilCheckwith a receiverlessnil?in anunlesscondition. ([@koic][])Style/OperatorMethodCallwith an operand without parentheses. ([@bbatsov][])Style/RedundantArrayConstructorwith a nestedArrayconstructor. ([@Starlexxx][])Style/RedundantBeginwith an emptybeginthat has anensure. ([@Starlexxx][])Style/RedundantEachwith a method argument. ([@koic][])Style/RedundantInitializeandStyle/DigChainwith a node without an end location. ([@koic][])Style/RedundantInterpolationwith a nested interpolation in an argument. ([@koic][])Style/SendWithLiteralMethodNamewith a string in an invalid encoding. ([@Starlexxx][])Style/SingleLineMethodswith an empty method defined in the body of another. ([@Starlexxx][])Style/StringConcatenationwith a parenthesized heredoc. ([@Starlexxx][])Style/MethodCallWithArgsParentheses. ([@koic][])Layout/BlockEndNewlinewith a heredoc and cops inserting after the closing brace. ([@koic][])Layout/BlockEndNewlinewith a HEREDOC ending before the last method call. ([@koic][])Layout/BlockEndNewlinewith code after the closing brace of a heredoc block. ([@koic][])Layout/ClassStructureleaving the moved element's blank-line separator behind. ([@dduugg][])Layout/ClassStructurewithStyle/AccessModifierDeclarations,Style/BisectedAttrAccessorandStyle/RedundantInitialize. ([@dduugg][])Layout/EmptyLineAfterGuardClausewith multiple statements inbegin. ([@koic][])Layout/EmptyLineAfterGuardClausewith a guard clause used as a value. ([@koic][])Layout/EmptyLinesAfterModuleInclusionwith a heredoc argument. ([@koic][])Layout/EmptyLinesAroundAccessModifierwithendright after the modifier. ([@koic][])Layout/EmptyLinesAroundBlockBodywith a body on the opening line. ([@koic][])Layout/HeredocArgumentClosingParenthesiswith code after the closing parenthesis. ([@koic][])Layout/MultilineArrayBraceLayoutandLayout/MultilineHashBraceLayoutwithStyle/MethodCallWithArgsParentheses. ([@koic][])Layout/MultilineArrayBraceLayoutwith a line continuation before the closing brace. ([@koic][])Layout/MultilineHashBraceLayoutwith a comment line before the closing brace. ([@koic][])Layout/MultilineMethodDefinitionBraceLayoutwithStyle/MethodDefParentheses. ([@koic][])Layout/SingleLineBlockChainwithStyle/CollectionQueryingand hash transform cops. ([@koic][])Lint/AmbiguousBlockAssociationwithStyle/AndOr. ([@koic][])Lint/AmbiguousOperatorPrecedencewithStyle/LineEndConcatenation. ([@Starlexxx][])Lint/AmbiguousRegexpLiteralwith a safe navigation call in an argument. ([@koic][])Lint/DeprecatedClassMethodswith a parenthesizedattr. ([@Starlexxx][])Lint/HashNewWithKeywordArgumentsAsDefaultwithout parentheses. ([@koic][])Lint/HeredocMethodCallPositionwith multiline brace layout cops. ([@koic][])Lint/InterpolationCheckwithyieldoutside a method. ([@Starlexxx][])Lint/LiteralAsConditionwhen removing a node where an expression is required. ([@Starlexxx][])Lint/LiteralInInterpolationwith a delimiter of the enclosing literal. ([@koic][])Lint/LiteralInInterpolationwith a double quote in a percent array. ([@koic][])Lint/LiteralInInterpolationwith cops changing the delimiters. ([@Starlexxx][])Lint/NonAtomicFileOperationwithStyle/MethodCallWithArgsParentheses. ([@koic][])Lint/NonAtomicFileOperationwith code afterend. ([@koic][])Lint/NumberConversionwithStyle/MethodCallWithArgsParenthesesandStyle/NestedParenthesizedCalls. ([@koic][])Lint/ParenthesesAsGroupedExpressionwith multiple statements. ([@koic][])Lint/ParenthesesAsGroupedExpressionwithStyle/RedundantParentheses. ([@koic][])Lint/ParenthesesAsGroupedExpressionwith empty parentheses. ([@koic][])Lint/ParenthesesAsGroupedExpressionwith a command call with adoblock. ([@koic][])Lint/ParenthesesAsGroupedExpressionwith a multiple assignment. ([@koic][])Lint/RedundantCopEnableDirectivewith text after the directive. ([@koic][])Lint/RedundantDirGlobSortwithLayout/DotPosition. ([@koic][])Lint/RedundantDirGlobSortwith a comment before a leading dot. ([@koic][])Lint/SafeNavigationChainwith an operator call as an argument. ([@koic][])Lint/SendWithMixinArgumentwhen the call is not a statement. ([@Starlexxx][])Lint/TrailingCommaInAttributeDeclarationwithStyle/MethodCallWithArgsParentheses. ([@koic][])Lint/TripleQuoteswithLint/ImplicitStringConcatenation. ([@koic][])Lint/UselessAssignmentwith an operator assignment whose value needs parentheses. ([@Starlexxx][])Lint/UselessTimeswith a reassigned block argument. ([@koic][])Lint/UselessTimeswith code after it on the same line. ([@koic][])Lint/Voidwith an interpolated literal. ([@Starlexxx][])Lint/Voidwith an operator method call with multiple or keyword arguments. ([@koic][])Naming/BlockForwardingwith an index call. ([@koic][])Naming/HeredocDelimiterCasewith a quote inside a quoted delimiter. ([@Starlexxx][])Style/AmbiguousEndlessMethodDefinitionwith a heredoc. ([@koic][])Style/AndOrwithStyle/OperatorMethodCall. ([@koic][])Style/BlockDelimiterswithStyle/RescueStandardError. ([@koic][])Style/CombinableLoopswithStyle/ItBlockParameter. ([@koic][])Style/CombinableLoopswithStyle/SymbolProc. ([@koic][])Style/ConcatArrayLiteralswith a trailing comma. ([@koic][])Style/DataInheritancewithStyle/MethodCallWithArgsParentheses. ([@koic][])Style/DefWithParentheseswith an endless method whose=is on the next line. ([@Starlexxx][])Style/EmptyClassDefinitionwith a top-level constant. ([@Starlexxx][])Style/EmptyLiteralwith an operator method argument. ([@koic][])Style/EmptyMethodwith a parenthesized receiver. ([@koic][])Style/EndlessMethodwithStyle/IdenticalConditionalBranches. ([@koic][])Style/EndlessMethodwith a command body outside a statement. ([@koic][])Style/EndlessMethodwith a parenthesized receiver. ([@koic][])Style/EndlessMethodwith cops unwrapping the body. ([@koic][])Style/ExplicitBlockArgumentwith a method call without parentheses as the last argument. ([@Starlexxx][])Style/Forwith a receiverless method call. ([@koic][])Style/GuardClausewith anifused as an expression. ([@koic][])Style/GuardClausewith code afterendand a heredoc. ([@koic][])Style/HashConversionwith a hash literal argument. ([@Starlexxx][])Style/HashSyntaxwith an explicit hash value. ([@koic][])Style/HashSyntaxwithStyle/RedundantReturn. ([@koic][])Style/IdenticalConditionalBrancheswith a conditional used as a value. ([@koic][])Style/IdenticalConditionalBrancheswith an assigned jump. ([@koic][])Style/IfUnlessModifierOfIfUnlesswithStyle/MethodCallWithArgsParentheses. ([@Starlexxx][])Style/IfUnlessModifierwithStyle/MethodCallWithArgsParentheses. ([@koic][])Style/IfWithSemicolonwith a setter call. ([@koic][])Style/IfWithSemicolonwith an assignment of a command call. ([@koic][])Style/ItBlockParameterwith an omitted hash value. ([@koic][])Style/LineEndConcatenationwithLint/AmbiguousOperatorPrecedence. ([@koic][])Style/MapIntoArraywithStyle/TrailingCommaInArguments. ([@koic][])Style/MethodCallWithArgsParentheseswithStyle/ParenthesesAroundCondition. ([@Starlexxx][])Style/MethodCallWithArgsParentheseswith ado...endblock in command arguments. ([@koic][])Style/MethodCallWithArgsParentheseswith a command assignment in a pattern match. ([@koic][])Style/MethodCallWithArgsParentheseswith a semicolon in a parenthesized argument. ([@Starlexxx][])Style/NilLambdawith a body on the same line as the block opening or closing. ([@koic][])Style/OperatorMethodCallwith a block. ([@Starlexxx][])Style/OperatorMethodCallwith a parenthesized argument. ([@koic][])Style/PartitionInsteadOfDoubleSelectwith code after the second call. ([@koic][])Style/RaiseArgswithLayout/HeredocArgumentClosingParenthesis. ([@Starlexxx][])Style/RedundantBeginwith a command call assigned in an argument. ([@koic][])Style/RedundantBeginwith code afterend. ([@koic][])Style/RedundantBeginwith trailing comma cops. ([@koic][])Style/RedundantFilterChainwithLayout/SingleLineBlockChain. ([@Starlexxx][])Style/RedundantInterpolationwith a void value expression. ([@koic][])Style/RedundantPercentQwith an escaped double quote. ([@Starlexxx][])Style/RedundantSortwith a comma after the accessor. ([@koic][])Style/RedundantSortwith trailing comma cops. ([@koic][])Style/Semicolonwith cops adding call parentheses. ([@koic][])Style/SingleLineDoEndBlockwith a heredoc in the method call. ([[@koic](https://redConfiguration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.