Repository navigation
Update dependency rubocop to v1.92.0 - #286
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
July 8, 2026 06:50
d72498a to
c31754d
Compare
renovate
Bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
July 18, 2026 04:07
c31754d to
c540a2d
Compare
renovate
Bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
August 4, 2026 09:40
c540a2d to
980da25
Compare
renovate
Bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
August 24, 2026 16:35
980da25 to
dd5c4ce
Compare
renovate
Bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
September 10, 2026 20:33
dd5c4ce to
31f32a9
Compare
renovate
Bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
September 25, 2026 00:46
31f32a9 to
6b8e5a1
Compare
renovate
Bot
force-pushed
the
renovate/rubocop-1.x-lockfile
branch
from
October 10, 2026 12:27
6b8e5a1 to
3034aa2
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.
This PR contains the following updates:
1.75.8→1.92.0Release Notes
rubocop/rubocop (rubocop)
v1.92.0Compare Source
New features
--explain COPto describe what a cop does, how it is configured, and the examples from its documentation. ([@bbatsov][])--max-offenses-per-copto cap how many offenses a single cop reports. ([@bbatsov][])AutoCorrect: contextualcops when asked to. ([@bbatsov][])Lint/UselessAssignmentregister an offense for a block-captured variable that is never referenced. ([@IslamElsayed][])--format json. ([@bbatsov][])Bug fixes
Lint/MissingCopEnableDirectivewhen anenable-nextornext +Copdirective suspends an openrubocop:disable, and a false positive fornext -Copscopes larger thanMaxRangeSize. ([@bbatsov][])Security/JSONLoadwithcreate_additionsas the second argument. ([@bbatsov][])Layout/LineEndStringConcatenationIndentationwith an already aligned part. ([@bbatsov][])Style/ExplicitBlockArgumentwhen the method uses argument forwarding (...). ([@bbatsov][])Style/NegativeArrayIndexwith a different length receiver. ([@bbatsov][])Style/RedundantFreezewith an arithmetic operation on a non-numeric receiver. ([@bbatsov][])Style/Samplewith an endless range, which was corrected to asamplecall of the wrong size. ([@bbatsov][])Style/SuperArgumentswhen the method has a destructuring parameter. ([@bbatsov][])Layout/EmptyLinesAroundMethodBodywhen a method's arguments span multiple lines and the method ends on the last argument's line. ([@viralpraxis][])Layout/HeredocIndentationwith a heredoc nested in another heredoc. ([@Starlexxx][])Lint/EmptyConditionalBodywithelseon the condition line. ([@koic][])Lint/UnescapedBracketInRegexpwhen using regexp_parser 2.11.2 and earlier. ([@bbatsov][])Metrics/ClassLengthwith a long singleton class in LSP mode. ([@bbatsov][])Style/ClassAndModuleChildrenwhen a compact class or module definition appears in an expression, such as an assignment value or a method argument. ([@viralpraxis][])Style/ClassAndModuleChildrenwhen usingEnforcedStyle: compactand the nested body is indented less thanLayout/IndentationWidth'sWidth. ([@viralpraxis][])Style/ClassAndModuleChildrenwhenEnforcedStyle: compactcompacts an irregularly indented definition andLayout/IndentationStyleenforces tabs. ([@viralpraxis][])Style/ExplicitBlockArgumentwith the shorthand call syntax. ([@Starlexxx][])Style/FormatStringwithformatnested informat. ([@Starlexxx][])Style/HashSyntaxwhen ano_mixed_keysstyle forces hash rockets on a hash whose value repeats its key. ([@viralpraxis][])Style/IfInsideElsewhen the nestedifshares a line with other code. ([@bbatsov][])Style/MapIntoArraywhen pushing into a numbered oritblock parameter. ([@Starlexxx][])Style/Nextwith a modifier condition wrapping a block that has its own offense. ([@Starlexxx][])Style/RedundantConditionwhen autocorrecting a redundant condition nested in theelsebranch of another one. ([@koic][])Style/Semicolonwhen a semicolon follows an unparenthesized keyword parameter or hash pattern. ([@viralpraxis][])Style/YodaConditionwhen one operand of a comparison contains another comparison the cop also corrects. ([@viralpraxis][])pacmanformatter, which crashed withundefined method 'winsize'whether or not the output was a terminal. ([@bbatsov][])Ctrl-C. ([@viralpraxis][])Gemspec/OrderedDependencieswhen the same dependency declaration appears more than once in the gemspec. ([@viralpraxis][])Layout/ClassStructurewith blank line cops. ([@koic][])Layout/ClassStructurewithLayout/EmptyLinesAroundAccessModifier. ([@koic][])Layout/ClassStructurewith a heredoc constant. ([@bbatsov][])Layout/EmptyLinesAroundBlockBodywhen usingEnforcedStyle: empty_linesand the empty line would precede a leading dot method call. ([@viralpraxis][])Layout/EmptyLinesAroundBlockBodywithdoon its own line. ([@koic][])Layout/ExtraSpacingcop withForceEqualSignAlignment: truewhenStyle/SelfAssignmentrewrites the same assignment. ([@Starlexxx][])Layout/FirstArgumentIndentationwith an inner call not beginning its line. ([@bbatsov][])Layout/FirstMethodArgumentLineBreakwithStyle/MethodCallWithArgsParentheses. ([@koic][])Layout/FirstMethodParameterLineBreakwithStyle/MethodDefParentheses. ([@koic][])Layout/LineContinuationSpacingcop when a line ends with the$\global variable. ([@Starlexxx][])Layout/LineLengthwhen breaking a line after an argument with a nested heredoc. ([@Starlexxx][])Layout/LineLengthcop whenStyle/MethodCallWithArgsParentheseswithEnforcedStyle: omit_parenthesesremoves the parentheses it breaks after. ([@Starlexxx][])Layout/LineLengthwhenSplitStrings: truewould split a string inside an escape sequence such as\000. ([@koic][])Layout/LineLengthwithSplitStrings: truewhen an interpolation in the string contains a block. ([@Starlexxx][])Layout/LineLengthwithSplitStringsand a string not beginning its line. ([@bbatsov][])Layout/MultilineArrayBraceLayoutwithLayout/MultilineHashBraceLayoutandLayout/MultilineMethodCallBraceLayout. ([@koic][])Layout/MultilineArrayBraceLayoutwithStyle/ConcatArrayLiterals. ([@koic][])Layout/MultilineBlockLayoutcop adding a trailing comma when the only positional block argument is followed by keyword arguments. ([@Starlexxx][])Layout/MultilineBlockLayoutwith block argument rewriting cops. ([@koic][])Layout/MultilineHashBraceLayoutwithStyle/HashAsLastArrayItemandStyle/RedundantDoubleSplatHashBraces. ([@koic][])Layout/MultilineArrayLineBreaks,Layout/MultilineHashKeyLineBreaks,Layout/MultilineMethodArgumentLineBreaksandLayout/MultilineMethodParameterLineBreaksafter a heredoc opener. ([@koic][])Layout/MultilineMethodCallBraceLayoutwhenEnforcedStyle: omit_parenthesesofStyle/MethodCallWithArgsParenthesesremoves the parentheses the layout cop is moving. ([@koic][])Layout/MultilineMethodDefinitionBraceLayoutwithStyle/MultilineMethodSignature. ([@Starlexxx][])Layout/SingleLineBlockChainwithStyle/NilComparison. ([@koic][])Layout/SingleLineBlockChainwithStyle/FloatDivision. ([@koic][])Layout/SingleLineBlockChainwith a heredoc. ([@Starlexxx][])Layout/SpaceInsideBlockBraceswithEnforcedStyle: no_spacewhen a multiline block's last line has code before the closing bracket. ([@viralpraxis][])Lint/AmbiguousOperatorwithStyle/ArgumentsForwarding. ([@bbatsov][])Lint/EmptyConditionalBodywith an emptyelsifandelse. ([@koic][])Lint/LiteralInInterpolationwith a#next to the interpolation. ([@koic][])Lint/LiteralInInterpolationwith an empty literal after a#. ([@bbatsov][])Lint/LiteralInInterpolationwith two adjacent interpolations. ([@bbatsov][])Lint/Loopwhenbegin ... end whileorbegin ... end untilis written on a single line. ([@koic][])Lint/NumberConversionwith a symbol operand of an operator. ([@koic][])Lint/RedundantDirGlobSortwith a leading dot. ([@koic][])Lint/UnescapedBracketInRegexpwith a double-quotedRegexp.newstring. ([@bbatsov][])Lint/UnescapedBracketInRegexpwith an escapedRegexp.newstring. ([@bbatsov][])Lint/UselessAssignmentwith a list of values without brackets. ([@bbatsov][])Lint/Voidwhen removing a heredoc in void context, so that its body and terminator are removed with it. ([@koic][])Layout/MultilineArrayBraceLayout,Layout/MultilineHashBraceLayout,Layout/MultilineMethodCallBraceLayout, andLayout/MultilineMethodDefinitionBraceLayoutwhen a heredoc is opened on the line of the closing brace. ([@koic][])Naming/HeredocDelimiterCasewhen the body has the corrected delimiter. ([@koic][])Style/AccessModifierDeclarationswith a splatted variable. ([@koic][])Style/Aliaswhen a symbol argument such as:"foo bar"or:@typehas no bareword form. ([@koic][])Style/AndOrwithStyle/ReturnNilInPredicateMethodDefinition. ([@Starlexxx][])Style/ArgumentsForwardingadding parentheses twice to a method definition. ([@Starlexxx][])Style/ArgumentsForwardingwith a block literal. ([@koic][])Style/Attrwith parenthesized arguments. ([@bbatsov][])Style/BlockDelimiterswhen a braces block is the collection of aforloop. ([@viralpraxis][])Style/BlockDelimiterswhenStyle/MethodCallWithArgsParentheseswithEnforcedStyle: omit_parenthesesremoves the call's parentheses in the same pass, producing invalid code such asfoo :bar { baz }. ([@viralpraxis][])Style/BlockDelimiterswith a block in a loop condition. ([@bbatsov][])Style/BlockDelimiterswith a multiline block in an argument ofyieldorsuperwithout parentheses. ([@bbatsov][])Style/BlockDelimiterswith a heredoc afterrescue. ([@koic][])Style/BlockDelimiterswithLayout/SpaceBeforeBlockBraces. ([@koic][])Style/CaseLikeIfwith anifinside theelsebranch. ([@bbatsov][])Style/ClassAndModuleChildrenwithEnforcedStyle: compactwhen a one-liner child class has a superclass or a body. ([@viralpraxis][])Style/ClassAndModuleChildrenwhen compacting a nested definition. ([@Starlexxx][])Style/ClassAndModuleChildrenwithStyle/StructInheritance. ([@koic][])Style/ClassMethodsDefinitionswhen a method definition insideclass << selfis followed by other code on its last line. ([@viralpraxis][])Style/CombinableLoopswhen followed by another block. ([@Starlexxx][])Style/CombinableLoopswhen one of the loops is disabled. ([@bbatsov][])Style/CombinableLoopswith comments after the loop's opening. ([@bbatsov][])Style/CombinableLoopswith comments before the closing delimiter. ([@bbatsov][])Style/CombinableLoopswith mixed block delimiters. ([@koic][])Style/CombinableLoopswith numbered anditparameters. ([@bbatsov][])Style/CombinableLoopswithrescuein a loop body. ([@koic][])Style/ConcatArrayLiteralsdropping comments. ([@bbatsov][])Style/ConcatArrayLiteralswithStyle/MethodCallWithArgsParentheses. ([@koic][])Style/ConcatArrayLiteralswithStyle/TrailingCommaInArguments. ([@koic][])Style/ConcatArrayLiteralswith multiline array arguments. ([@bbatsov][])Style/ConditionalAssignmentwithEnforcedStyle: assign_inside_conditionwhenStyle/MethodCallWithArgsParentheseswithEnforcedStyle: omit_parenthesesremoves a branch body's parentheses in the same pass, producing invalid code such asfoo << bar :baz. ([@viralpraxis][])Style/EmptyLiteralwhenHash[]orHash([])is the first argument of a method call without parentheses. ([@kevin9327][])Style/EndlessMethodwhen a method is made endless whileStyle/MethodCallWithArgsParenthesesomits parentheses in its body. ([@viralpraxis][])Style/EndlessMethodandStyle/SingleLineMethodswith a one-line pattern match orbegin...end whilebody. ([@bbatsov][])Style/EndlessMethodwhen the method body ends with an anonymous argument forwarding. ([@viralpraxis][])Style/EndlessMethodwhen the method body passes a multiline or xstring heredoc to a method call. ([@viralpraxis][])Style/EndlessMethodwhen the method body is a multiple assignment. ([@viralpraxis][])Style/EndlessMethodwhen the method body ends with an omitted hash value. ([@viralpraxis][])Style/EndlessMethodwith a command that an endless body cannot hold. ([@koic][])Style/EndlessMethoddeleting a comment placed between the method signature andend. ([@koic][])Style/EndlessMethodwith a modifier condition orand/orbody. ([@Starlexxx][])Style/EndlessMethodwhenNaming/BlockForwardingorStyle/ArgumentsForwardingadds parentheses to the same method definition. ([@Starlexxx][])Style/EndlessMethodandStyle/SingleLineMethodswhen the method body assigns multiple values without brackets. ([@bbatsov][])Style/EndlessMethodwhen the method parameters are not surrounded by parentheses. ([@koic][])Style/ExactRegexpMatchwhen the result is used. ([@bbatsov][])Style/ExplicitBlockArgumentcop when the method already has an argument or local variable namedblock. ([@Starlexxx][])Style/ExplicitBlockArgumentwithStyle/LambdaCall. ([@koic][])Style/ExplicitBlockArgumentwithStyle/TrailingCommaInArguments. ([@koic][])Style/ExplicitBlockArgumentwith an empty index call. ([@bbatsov][])Style/ExplicitBlockArgumentwhensuperwithout arguments is called in a method with keyword or block parameters. ([@bbatsov][])Style/FloatDivisionwith a leading dot. ([@koic][])Style/ForwhenEnforcedStyle: forand the block body abuts a brace, such asc.each {d}, which leftdoorendglued to the body. ([@viralpraxis][])Style/ForwhenEnforcedStyle: forand the multilineeachblock is delimited by braces. ([@viralpraxis][])Style/Forwith ado...endblock in the collection. ([@koic][])Style/Forwith a non-local loop variable or an implicit block parameter. ([@bbatsov][])Style/ForwithStyle/RedundantBegin. ([@koic][])Style/FormatStringwith a braced hash argument. ([@koic][])Style/FormatStringwhen the argument ofString#%is an instance variable, a constant or another value that may be an array. ([@bbatsov][])Style/FrozenStringLiteralCommentwhen an encoding magic comment names an encoding other than UTF-8, so that the frozen string literal comment is inserted below it. ([@koic][])Style/GuardClausewith anifas the body of an endless method. ([@bbatsov][])Style/HashConversionin an index, setter or operator call. ([@bbatsov][])Style/HashConversionwhen calling a method onHash[]. ([@bbatsov][])Style/HashConversionwithStyle/MethodCallWithArgsParentheses. ([@koic][])Style/HashConversionwith a method chain argument. ([@bbatsov][])Style/HashConversionwith safe navigation,superoryield. ([@bbatsov][])Style/HashLookupMethodwhen the lookup is the target of a compound assignment. ([@viralpraxis][])Style/HashLookupMethodwith a leading dot. ([@koic][])Style/HashLookupMethodwith an explicit element reference call. ([@koic][])Style/HashSyntaxwithEnforcedStyle: hash_rocketswhere expanding an omitted hash value also removed the line break that followed it. ([@viralpraxis][])Style/HashSyntaxwithStyle/MethodCallWithArgsParentheses. ([@Starlexxx][])Style/HashSyntaxwithStyle/SuperWithArgsParentheses. ([@koic][])Style/HashSyntaxwith a keyword-named shorthand value. ([@koic][])Style/IdenticalConditionalBrancheswhen a duplicated expression shares its line. ([@koic][])Style/IfInsideElsewith a modifierifon theelseline. ([@bbatsov][])Style/IfUnlessModifierOfIfUnlesswithStyle/SoleNestedConditional. ([@bbatsov][])Style/IfUnlessModifierwith a heredoc inside another heredoc. ([@bbatsov][])Style/IfUnlessModifierwith a heredoc nested in the body. ([@koic][])Style/IfUnlessModifierandStyle/WhileUntilModifierwith a conditional or loop in a call argument, ternary branch or endless method body. ([@bbatsov][])Style/IfUnlessModifierwith an omitted hash value in areturnor an assignment. ([@koic][])Style/IfWithSemicolonwhenifis the receiver of a method call or an operand of an operator. ([@koic][])Style/IfWithSemicolonwhen a branch is abegin/endloop with awhileoruntilmodifier. ([@koic][])Style/IfWithSemicolonwhen!is applied to a method call with unparenthesized arguments. ([@koic][])Style/IfWithSemicolonwhen the condition or a branch binds looser than the ternary operator. ([@bbatsov][])Style/InverseMethodswith an operand of an operator. ([@koic][])Style/ItBlockParameterwhen usingEnforcedStyle: alwaysand the block parameter is used inside a nested block. ([@viralpraxis][])Style/ItBlockParameterwithStyle/StabbyLambdaParentheses. ([@koic][])Style/ItBlockParameterwithStyle/Lambda. ([@Starlexxx][])Style/KeywordParametersOrderwith trailing whitespace. ([@koic][])Style/Lambdawhen a lambda literal has an argument whose default value needs parentheses between pipes. ([@viralpraxis][])Style/LambdaCallwith a heredoc argument. ([@Starlexxx][])Style/Lambdawith a lambda literal in a pattern. ([@koic][])Style/Lambdawithrescuein an unparenthesized argument. ([@koic][])Style/MethodCallWithArgsParentheseswhenStyle/TernaryParenthesesalso parenthesizes the arguments of a ternary condition. ([@koic][])Style/MethodCallWithArgsParentheseswithEnforcedStyle: omit_parentheseswhenStyle/AndOrrewrites theand/orkeyword around an argument-bearing call in the same pass. ([@koic][])Style/MethodCallWithArgsParentheseswhenStyle/RedundantParenthesesremoves the parentheses around a call whose own parentheses are omitted in the same pass. ([@koic][])Style/MethodCallWithArgsParentheseswithEnforcedStyle: omit_parentheseswhen a call is assigned before theandororkeyword. ([@koic][])Style/MethodCallWithArgsParentheseswith a closing parenthesis on its own line. ([@koic][])Style/MethodCallWithArgsParentheseswith a nested call at the end of the line. ([@koic][])Style/MethodCallWithArgsParentheseswith a comment after(. ([@bbatsov][])Style/MethodCallWithoutArgsParentheseswhen a local variable has the same name. ([@bbatsov][])Style/MethodDefParentheseswhen usingEnforcedStyle: require_no_parenthesesand the parameters begin on a line below the method name. ([@viralpraxis][])Style/MethodDefParentheseswith a destructured first parameter. ([@koic][])Style/MethodDefParentheseswith a single-line method body. ([@koic][])Style/MultilineIfModifierwith a heredoc opened on the modifier line. ([@bbatsov][])Style/MultilineIfModifierwith a multiline string in the body. ([@bbatsov][])Style/MultilineIfModifierwith a non-squiggly heredoc in the body. ([@bbatsov][])Style/MultilineInPatternThenwith an endless range pattern. ([@Starlexxx][])Style/MultilineTernaryOperatorwithdefined?without parentheses. ([@koic][])Style/MultilineTernaryOperatorwithyieldandsuper. ([@bbatsov][])Style/MultilineWhenThenwith an endless range condition. ([@Starlexxx][])Style/MutableConstantwithRecursive: trueand trailing comma cops. ([@koic][])Style/NegatedIfElseConditionwiththenor a semicolon after the condition. ([@bbatsov][])Style/NestedModifierwith low-precedence operands. ([@bbatsov][])Style/NestedTernaryOperatorwhen the ternary followsreturnor is a command argument, or when theifbranch has parentheses that do not wrap all of it. ([@bbatsov][])Style/NestedTernaryOperatorwith a heredoc. ([@Starlexxx][])Style/NestedTernaryOperatorwhen the ternary is the operand ofnotordefined?without parentheses. ([@koic][])Style/Nextwith heredocs and multiline string literals. ([@bbatsov][])Style/NilComparisonwhen a method is called onnil?. ([@koic][])Style/NilComparisonwith a leading dot. ([@koic][])Style/NonNilCheckwhen the receiver is a unary operation, such as!a != nil. ([@viralpraxis][])Style/Notwith a unary~operand. ([@koic][])Style/NumericPredicatewhen the receiver is a unary operation, such as-a < 0. ([@viralpraxis][])Style/NumericPredicatewithEnforcedStyle: comparisonin an operand. ([@koic][])Style/OneLineConditionalwith a post-condition loop branch. ([@koic][])Style/OneLineConditionalwith a constant scope or a ternary condition. ([@koic][])Style/OneLineConditionalwhen a branch uses a modifierrescue/while/untilor a one-line pattern match, or when the conditional is the receiver of a method call. ([@bbatsov][])Style/PercentLiteralDelimiterswith an escaped delimiter. ([@bbatsov][])Style/ReduceToHashwith a key or a value that is not an array element. ([@koic][])Style/RedundantBeginwith low precedence statements and multilinereturnvalues. ([@bbatsov][])Style/RedundantConditionwith a low precedenceelsebranch. ([@bbatsov][])Style/RedundantConditionwith operator method branches. ([@bbatsov][])Style/RedundantDoubleSplatHashBraceswithStyle/TrailingCommaInHashLiteral. ([@koic][])Style/RedundantExceptionwith a compound message. ([@bbatsov][])Style/RedundantFetchBlockwhenfetchis called with a splat, an anonymous rest argument, or keyword arguments. ([@ihamzatarar][])Style/RedundantParentheseswith a heredoc and a chained call. ([@koic][])Style/RedundantParentheseswith a heredoc opened on the closing parenthesis line. ([@koic][])Style/RedundantRegexpArgumentwith an escaped#{. ([@koic][])Style/RedundantRegexpConstructorwith an ambiguous slash regexp. ([@bbatsov][])Style/RedundantRegexpEscapecop whenStyle/RegexpLiteralchanges the delimiters of the same regexp in the same pass. ([@Starlexxx][])Style/RegexpLiteralwhen a%rliteral whose body starts with a newline is passed to a method without parentheses. ([@koic][])Style/RegexpLiteralwith a slash inside an interpolation. ([@koic][])Style/RegexpLiteralwhen a%rliteral escapes its own delimiter in the body. ([@koic][])Style/RequireOrderwith a `requiConfiguration
📅 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.