Repository navigation
Update dependency rubocop to v1 - #3
renovate[bot] wants to merge 1 commit into
Conversation
8087ea8 to
d63b91c
Compare
a656d9c to
f6b8e54
Compare
f6b8e54 to
2f74f46
Compare
|
Kudos, SonarCloud Quality Gate passed! |
2f74f46 to
6268252
Compare
6268252 to
2e16f17
Compare
2e16f17 to
8c0bccf
Compare
8c0bccf to
c48cc89
Compare
c48cc89 to
6b5946f
Compare
|
Kudos, SonarCloud Quality Gate passed! |
6b5946f to
1c955c3
Compare
1c955c3 to
e393b43
Compare
308f7e9 to
37f9cb4
Compare
37f9cb4 to
e8f0855
Compare
|
Kudos, SonarCloud Quality Gate passed! |
e8f0855 to
142bcdd
Compare
|
Kudos, SonarCloud Quality Gate passed! |
142bcdd to
d9db27e
Compare
d9db27e to
bc2483b
Compare
bc2483b to
eee04da
Compare
eee04da to
4d992fe
Compare
4d992fe to
44168ef
Compare
44168ef to
fb00941
Compare
fb00941 to
daa0c60
Compare
6be5825 to
3ca9d43
Compare
3ca9d43 to
68e5dca
Compare
68e5dca to
cbbea76
Compare
b456d6c to
94d447e
Compare
94d447e to
9610231
Compare
9610231 to
4bf01cd
Compare
4bf01cd to
60afa04
Compare
60afa04 to
83d3358
Compare
83d3358 to
9f87cbc
Compare
|
9f87cbc to
4d61a35
Compare
4d61a35 to
8e81b28
Compare
8e81b28 to
24f903f
Compare
24f903f to
41930a5
Compare
41930a5 to
661d76b
Compare
|
661d76b to
085bfdd
Compare
|
085bfdd to
36975ec
Compare
|
36975ec to
f32661e
Compare
f32661e to
da86c00
Compare
da86c00 to
0c40f14
Compare
|
0c40f14 to
1fbcdcb
Compare
1fbcdcb to
d03647b
Compare
|
d03647b to
6f14b01
Compare
6f14b01 to
8519f00
Compare
8519f00 to
d246f59
Compare
d246f59 to
ccd9378
Compare
|















Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
'~> 0.66.0'→'~> 1.92.0'Release Notes
rubocop/rubocop (rubocop)
v1.92.1Compare Source
Bug fixes
Layout/HashAlignmentwith a key spanning multiple lines. ([@koic][])Style/ClassAndModuleChildrenwhen compacting a namespace that contains another compactable one. ([@Starlexxx][])Style/ClassMethodsDefinitionswith a nestedclass << self. ([@Starlexxx][])Style/EmptyStringInsideInterpolationwith nested conditionals. ([@koic][])Style/RedundantInterpolationUnfreezewith an unfrozen string interpolated into another one. ([@Starlexxx][])Style/RescueModifierwith a rescue modifier in the rescue body of another one. ([@Starlexxx][])Layout/ClassStructurewith code after a heredoc. ([@koic][])Layout/DotPositionwith a dot removed by another cop. ([@koic][])Layout/HeredocArgumentClosingParenthesiswithLayout/MultilineMethodCallBraceLayout. ([@koic][])Layout/LineLengthwith an unparenthesized method definition. ([@koic][])Layout/MultilineHashBraceLayoutwith a nested literal. ([@koic][])Layout/MultilineMethodCallIndentationwith a single-line block. ([@koic][])Layout/SingleLineBlockChainwithStyle/RedundantSort. ([@koic][])Lint/AmbiguousRegexpLiteralwith a regexp hash key. ([@koic][])Lint/SymbolConversionwith hash value omission. ([@koic][])Naming/RescuedExceptionsVariableNamewithStyle/HashSyntax. ([@koic][])Style/AccessModifierDeclarationswithStyle/EndlessMethod. ([@Starlexxx][])Style/AccessModifierDeclarationswith an endless method command body. ([@Starlexxx][])Style/AccessModifierDeclarationswith an endless method with ado...endblock body. ([@koic][])Style/AndOrwith a safe navigation command call. ([@Starlexxx][])Style/AndOrwithStyle/ReturnNil. ([@koic][])Style/ArgumentsForwardingwhen another call forwards anonymous arguments without the block. ([@Starlexxx][])Style/ArgumentsForwardingwith index assignment and setter methods. ([@koic][])Style/CollectionQueryingwhencountis used without a block. ([@Starlexxx][], [@wwenrr][])Style/CombinableLoopswithLayout/BlockEndNewline. ([@Starlexxx][])Style/CombinableLoopswithLayout/RedundantLineBreak. ([@koic][])Style/ConcatArrayLiteralswith a multiline call without parentheses. ([@koic][])Style/EmptyStringInsideInterpolationwith a command call. ([@koic][])Style/EndlessMethodwith a command body in a method definition passed as an argument. ([@Starlexxx][])Style/EndlessMethodwith ado...endblock body in a method definition passed as an argument. ([@koic][])Style/EndlessMethodwith a negated command call. ([@koic][])Style/EndlessMethodwithStyle/GuardClause. ([@koic][])Style/EndlessMethodwithStyle/RaiseArgs. ([@Starlexxx][])Style/Forwith a numbered oritblock. ([@koic][])Style/Forwith block parameters invalid as loop variables. ([@koic][])Style/ForwithStyle/ItBlockParameter. ([@koic][])Style/GuardClausewith a heredoc in a multiline guard clause. ([@Starlexxx][])Style/GuardClausewith a heredoc in the kept branch. ([@Starlexxx][])Style/HashAsLastArrayItemwithStyle/TrailingCommaInArrayLiteral. ([@Starlexxx][])Style/IfUnlessModifierwith a heredoc in the condition. ([@koic][])Style/Lambdawith extra spacing before the block. ([@koic][])Style/MethodCallWithArgsParentheseswith a trailing comma. ([@koic][])Style/MethodCallWithArgsParentheseswith a parenthesized argument. ([@koic][])Style/MethodCallWithArgsParentheseswith an assignment used as an argument. ([@koic][])Style/MethodDefParentheseswithLayout/LineLength. ([@koic][])Style/MixinGroupingwith parenthesized arguments. ([@koic][])Style/MutableConstantwith an omitted hash value. ([@koic][])Style/MutableConstantwithRecursive: trueandStyle/HashAsLastArrayItem. ([@koic][])Style/RaiseArgsdropping required parentheses. ([@Starlexxx][])Style/RedundantInterpolationUnfreezewithLayout/MultilineMethodCallBraceLayout. ([@koic][])Style/RedundantInterpolationUnfreezewith a comment. ([@koic][])Style/RedundantSelfAssignmentBranchwith assignment used as value. ([@koic][])Style/RedundantSortwith a line break before the accessor. ([@koic][])Style/RequireOrderwithout a trailing newline. ([@koic][])Style/SendWithLiteralMethodNamewithLayout/MultilineMethodArgumentLineBreaks. ([@koic][])Style/StructInheritancewithStyle/MethodCallWithArgsParentheses. ([@koic][])Style/SymbolProcwithStyle/TrailingCommaInArguments. ([@koic][])Layout/ArgumentAlignmentwith a binary operator. ([@koic][])Layout/EmptyLineAfterMultilineConditionwith a statement on the condition line. ([@koic][])Layout/EmptyLineAfterMultilineConditionwithrescue. ([@koic][])Layout/EmptyLinesAroundBlockBodywith block arguments on the next line. ([@koic][])Layout/EndAlignmentwith a conditional in a method argument. ([@koic][])Layout/FirstArgumentIndentationwith a multiline hash first argument. ([@koic][])Layout/FirstArrayElementLineBreakwithLayout/SpaceInsideArrayLiteralBracketscompact style. ([@Starlexxx][])Layout/FirstHashElementIndentationwith a double splat. ([@koic][])Layout/HeredocArgumentClosingParenthesiswith a HEREDOC nested in a hash argument. ([@Starlexxx][])Layout/IndentationConsistencywithLayout/IndentationWidthdisabled on a line. ([@koic][])Layout/LineLengthsplitting off a blank string. ([@Starlexxx][])Layout/LineLengthwithLayout/SpaceInsideArrayLiteralBracketscompact style. ([@koic][])Layout/LineLengthwith a run of spaces at the break. ([@koic][])Layout/LineLengthwith a very long string. ([@koic][])Layout/RedundantLineBreakwithLayout/ExtraSpacing. ([@koic][])Style/IfUnlessModifierwith multiple modifiers in a logical operator. ([@koic][])Style/IfUnlessModifierwith spaces inside parentheses. ([@koic][])Style/LambdawithLayout/SpaceInLambdaLiteral. ([@koic][])Style/LambdawithLayout/SpaceInsideParens. ([@koic][])Style/MutableConstantwith a splat in a frozen array. ([@koic][])Style/MutableConstantwithRecursive: trueand a hash without braces. ([@koic][])Style/RequireOrderwith a long list of unsorted requires. ([@Starlexxx][])RuboCop::Cop::Badgeequality comparing only hash values, which could treat unrelated cops as the same on platforms with narrow object hashes such as Windows and JRuby. ([@koic][])Style/BlockDelimitersmoving a trailing directive comment before the block. ([@Starlexxx][])Layout/SpaceInsideReferenceBracketswith chained reference brackets inside. ([@koic][])Lint/SafeNavigationConsistencyacross||branches. ([@koic][])Style/ItBlockParameterwhen a local variable nameditis in scope. ([@koic][])Style/ItBlockParameterwhen the block reassigns its parameter. ([@koic][])Lint/HeredocMethodCallPositionwithStyle/MethodCallWithArgsParentheses. ([@Starlexxx][])Layout/ClassStructureaware of the symbol-list forms of visibility modifiers, such asprivate :foo, :barandprivate_class_method :foo. ([@dduugg][])Parser::ClobberingErrorforLint/NumberConversionwith a symbol conversion in a corrected receiver. ([@Starlexxx][])Style/ParenthesesAroundConditionwith a multiple assignment. ([@Starlexxx][])Parser::ClobberingErrorforStyle/RaiseArgswith araisenested in another. ([@Starlexxx][])Style/RedundantBeginwith a multilinebeginas the condition of a modifierif. ([@Starlexxx][])Layout/RedundantLineBreakwithLayout/LineLengthand tab indentation. ([@Starlexxx][])Style/ClassMethodsDefinitionsandStyle/DocumentationMethodtreating methods named in a multi-symbolprivatecall as public, which made the former correctclass << selfto code raisingNameError. ([@dduugg][])Lint/UselessSetterCallwithLint/Voidininitializeand setter methods. ([@Starlexxx][])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 toConfiguration
📅 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.