chore(deps): update dependency rubocop to '~> 1.60.0' #309
  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.57.0'->'~> 1.60.0'Release Notes
rubocop/rubocop (rubocop)
v1.60.0Compare Source
Bug fixes
Style/MultilineTernaryOperatorwhen using a method call as a ternary operator condition with a line break between receiver and method. ([@koic][])Style/RedundantLineContinuationwhen line continuations for multiline leading dot method chain with a blank line. ([@koic][])Style/MethodCallWithArgsParenthesesomit_parenthesesstyle. ([@gsamokovarov][])Layout/EndAlignmentwhen misaligned in singleton class assignments withEnforcedStyleAlignWith: variable. ([@koic][])Layout/FirstArgumentIndentationwhen specifyingEnforcedStyle: with_fixed_indentationofLayout/ArrayAlignment. ([@koic][])Lint/ShadowedArgumentwhen self assigning to a block argument infor. ([@koic][])Style/IdenticalConditionalBrancheswhen usingif...elsewith identical leading lines that assign toself.foo. ([@koic][])EnforcedStyle: omit_parenthesesofStyle/MethodCallWithArgsParentheseswithStyle/SuperWithArgsParentheses. ([@koic][])Style/MapToHashwhen usingmap.to_hwithout receiver. ([@koic][])--auto-gen-configgenerateExcludewhenMaxis overridden. ([@jonas054][])Lint/MixedRegexpCaptureTypeswhen using look-ahead matcher. ([@marocchino][])Style/RedundantParentheseswhen regexp literal attempts to match against a parenthesized condition. ([@koic][])Lint/LiteralAssignmentInConditionwhen a collection literal contains non-literal elements. ([@koic][])Naming/BlockForwardingwhen using explicit block forwarding in block method. ([@koic][])Style/RedundantParentheseswhenAllowInMultilineConditions: trueofStyle/ParenthesesAroundCondition. ([@koic][])Style/ArgumentsForwardingwhen rest arguments forwarding to a method in block. ([@koic][])Style/HashEachMethodswhen rest block argument ofEnumerable#eachmethod is used. ([@koic][])Style/ParenthesesAroundCondition. ([@koic][])Style/RedundantParentheseswhen parentheses are used around a semantic operator in expressions within assignments. ([@koic][])Style/ArgumentsForwardingwhen a block is forwarded but other args aren't. ([@dvandersluis][])Layout/LineContinuationLeadingSpace. ([@eugeneius][])Style/EachForSimpleLoopaccept block with no parameters. ([@koic][])Changes
Security/Openwhenopenwith a literal string starting with a pipe. ([@koic][])Style/RedundantEachaware of safe navigation operator. ([@koic][])Style/SlicingWithRangeaware of redundant and beginless range. ([@koic][])EnforcedStyleoptions when--no-auto-gen-enforced-styleis given. ([@kpost][])v1.59.0Compare Source
New features
Lint/ItWithoutArgumentsInBlockcop. ([@koic][])Bug fixes
Lint/LiteralAssignmentInConditionwhen using interpolated string or xstring literals. ([@koic][])Lint/SelfAssignmentwhen using attribute assignment with method call with arguments. ([@koic][])Style/HashEachMethodswhen receiver literal is not a hash literal. ([@koic][])Style/MethodCallWithArgsParentheseswhenEnforcedStyle: omit_parenthesesand parens inwhenclause is used to pass an argument. ([@koic][])Style/RedundantParentheseswhen using parenthesizedlambdaorprocwithdo...endblock. ([@koic][])Style/CombinableLoopswhen looping over the same data as previous loop indo...endand{...}blocks. ([@koic][])Lint/LiteralAssignmentInConditionwhen using parallel assignment with splat operator in block of guard condition. ([@koic][])Style/HashEachMethodswhen using destructed block arguments. ([@koic][])Style/RedundantParentheseswhen a part of range is a parenthesized condition. ([@koic][])Style/MapToHashwhen using dot method calls forto_h. ([@koic][])Lint/HashCompareByIdentityaware of safe navigation operator. ([@koic][])Lint/NextWithoutAccumulatoraware of safe navigation operator. ([@koic][])Lint/NumberConversionaware of safe navigation operator. ([@koic][])Lint/RedundantWithIndexaware of safe navigation operator. ([@koic][])Lint/RedundantWithObjectaware of safe navigation operator. ([@koic][])Lint/UnmodifiedReduceAccumulatoraware of safe navigation operator. ([@koic][])Style/ClassCheckaware of safe navigation operator. ([@koic][])Style/CollectionCompactaware of safe navigation operator. ([@koic][])Style/ConcatArrayLiteralsaware of safe navigation operator. ([@koic][])Style/DateTimeaware of safe navigation operator. ([@koic][])Style/EachWithObjectaware of safe navigation operator. ([@koic][])Style/HashExceptaware of safe navigation operator. ([@koic][])Style/MapCompactWithConditionalBlockaware of safe navigation operator. ([@koic][])Style/Nextaware of safe navigation operator. ([@koic][])Style/RedundantArgumentaware of safe navigation operator. ([@koic][])Style/RedundantFetchBlockaware of safe navigation operator. ([@koic][])Layout/RedundantLineBreakaware of safe navigation operator. ([@koic][])Style/RedundantSortByaware of safe navigation operator. ([@koic][])Style/RedundantSortByaware of safe navigation operator. ([@koic][])Style/ExactRegexpMatchaware of safe navigation operator. ([@koic][])Style/Sampleaware of safe navigation operator. ([@koic][])Style/SelectByRegexpcops aware of safe navigation operator. ([@koic][])Layout/SingleLineBlockChainaware of safe navigation operator. ([@koic][])Style/StringCharsaware of safe navigation operator. ([@koic][])Style/Stripaware of safe navigation operator. ([@koic][])Style/UnpackFirstaware of safe navigation operator. ([@koic][])Changes
Style/MethodCallWithoutArgsParenthesesallow the parenthesizeditmethod in a block. ([@koic][])Style/RedundantSelfallow theself.itmethod in a block. ([@koic][])v1.58.0Compare Source
New features
Lint/LiteralAssignmentInConditioncop. ([@koic][])Style/SuperWithArgsParenthesescop. ([@koic][])Style/ArrayFirstLastcop. ([@fatkodima][])Bug fixes
Lint/Debuggerwhen used within method arguments abegin...endblock. ([@koic][])Style/Semicolonwhen a semicolon at the beginning of a lambda block. ([@koic][])Lint/FloatComparisonwhen comparing against zero. ([@earlopain][])Layout/RescueEnsureAlignmentwhen alignedrescueindo-endnumbered block in a method. ([@koic][])Layout/SpaceBeforeSemicolonwhen a space between an opening lambda brace and a semicolon. ([@koic][])Style/RedundantDoubleSplatHashBraceswhen method call for parenthesized no hash double double splat. ([@koic][])Naming/BlockForwardingandStyle/ArgumentsForwardingwhen autocorrection conflicts for anonymous arguments. ([@koic][])Layout/RescueEnsureAlignmentwhen usingrescueindo...endblock assigned to object attribute. ([@koic][])Style/CombinableLoopswhen looping over the same data for the third consecutive time or more. ([@koic][])Layout/ExtraSpacingwhen a file has exactly two comments. ([@eugeneius][])Lint/SymbolConversionwhen using string interpolation. ([@earlopain][])Style/RedundantLineContinuationwhen redundant line continuations for a block are used, especially without parentheses around first argument. ([@koic][])Style/RedundantParentheseswhen parentheses around logical operator keywords in method definition. ([@koic][])Style/RedundantReturnwhenlambda(->) ending withreturn. ([@koic][])Lint/Voidwhen a collection literal that includes non-literal elements in a method definition. ([@koic][])Style/MapToHashwithLayout/SingleLineBlockChain. ([@koic][])Lint/SafeNavigationChainwhen ordinary method chain exists after safe navigation leading dot method call. ([@koic][])HTMLFormatterformatter. ([@koic][])Style/HashEachMethodsaware of safe navigation operator. ([@koic][])Style/InverseMethodsaware of safe navigation operator. ([@koic][])Style/MapToHashaware of safe navigation operator. ([@koic][])Changes
Style/AutoResourceCleanupaware ofTempfile.open. ([@koic][])Lint/RedundantSafeNavigationto handle conversion methods with defaults. ([@fatkodima][])Lint/SelfAssignmentto check attribute assignment and key assignment. ([@fatkodima][])Style/HashEachMethodsaware of unused block value. ([@koic][])Style/RedundantParenthesesaware of lambda or proc. ([@koic][])Style/SelfAssignmentaware of%,^,<<, and>>operators. ([@koic][])rubocop-astversion 1.30 or greater. ([@sambostock][])EnforcedStyleForRationalLiteralsoption forLayout/SpaceAroundOperators. ([@koic][])RedundantRestArgumentNames,RedundantKeywordRestArgumentNames, andRedundantBlockArgumentNamesoptions forStyle/ArgumentsForwarding. ([@koic][])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.
This PR has been generated by Mend Renovate. View repository job log here.