chore(deps): update rubocop-tools #482
Open
+15
−15
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.79.2'->'~> 1.81.7''~> 3.6'->'~> 3.7'Release Notes
rubocop/rubocop (rubocop)
v1.81.7Compare Source
Bug fixes
Layout/HashAlignmentwhenEnforcedStyle: with_fixed_indentationis specified forLayout/ArgumentAlignment. ([@koic][])Naming/PredicateMethodwhen using aninpattern with empty parentheses body. ([@koic][])Style/SoleNestedConditionalwhen using nested single lineif. ([@koic][])Style/ConstantVisibilitywhen visibility is declared with multiple constants. ([@koic][])Style/FloatDivisionwhen usingRegexp.last_matchor nth reference (e.g.,$1). ([@koic][])Naming/MethodNamewhen the first argument toaliascontains interpolation. ([@earlopain][])v1.81.6Compare Source
Bug fixes
Lint/SelfAssignmentwhen using[]=assignment with no arguments. ([@koic][])Style/ArrayIntersectwhenintersection(other).any?is called without a receiver. ([@koic][])Style/ConditionalAssignmentis configured withassign_inside_conditionaland the conditional contains a multi-line regex. ([@martinemde][])Style/RedundantInterpolationwhen using a one-line=>pattern matching. ([@koic][])Style/EndlessMethodwhen heredoc is used in method body. ([@koic][])Style/EndlessMethodwhen the endless method would exceed the maximum line length. ([@koic][])Lint/EmptyInterpolationwhen interpolation is inside a%Wliteral. ([@dvandersluis][])Style/RedundantFormatfalse positive when a interpolated value is given to a specifier with a width or precision. ([@dvandersluis][])Style/RedundantFormathandling control characters like\n. ([@dvandersluis][])Style/Semicolonwhen a method call using hash value omission without parentheses is terminated with a semicolon. ([@koic][])Security/JSONLoadwhencreate_additionsis explicitly specified. ([@earlopain][])Changes
Lint::ConstantOverwrittenInRescuecop to detect offenses within fully qualified constants. ([@viralpraxis][])Lint/ConstantOverwrittenInRescuecop to detect offenses within nested constants. ([@viralpraxis][])Lint/ConstantOverwrittenInRescueto detect any constant assignment. ([@viralpraxis][])Style/LambdaCallautocorrection contextual. ([@koic][])v1.81.1Compare Source
Bug fixes
Lint/DeprecatedOpenSSLConstantwhenCipherappears twice. ([@koic][])Changes
Style/NumberedParametersandStyle/ItBlockParameterwithEnforcedStyle: allow_single_linewhen the block itself is on a single line. ([@earlopain][])v1.81.0Compare Source
New features
Style/ArrayIntersectWithSingleElementcop. ([@r7kamura][])EnforcedStyleForMultiline: diff_commainStyle/TrailingCommaInArguments. ([@akouryy][])Bug fixes
Style/NilComparisoncop when using thevar.==(nil)andvar.===(nil)syntax. ([@viralpraxis][])Style/ExplicitBlockArgumentwhen there are two methods that share the same implementation. ([@earlopain][])Style/NumberedParametersandStyle/ItBlockParameterwhen using multiline method chain withEnforcedStyle: allow_single_line. ([@koic][])Layout/MultilineOperationIndentationwhen using indented code on LHS of equality operator in modifier method definition. ([@koic][])Layout/EmptyLineBetweenDefsforAllowAdjacentOneLineDefs: falseandDefLikeMacrosthat take no block. ([@earlopain][])EnforcedStyle: allowed_in_returnsand!!appears across multiple lines in return position. ([@koic][])Style/RedundantParentheseswhen parentheses are used around a one-linerescueexpression as a condition. ([@koic][])Style/RedundantRegexpEscapewhen an escaped variable sigil follows#(e.g.,/#\@​foo/,/#\@​@​bar/,/#\$baz/). ([@koic][])Layout/RescueEnsureAlignmentwith a block whose send node is split over multiple lines. ([@dvandersluis][])Style/RedundantFormatwhen the format string has a variable width that isn't given as a literal value. ([@dvandersluis][])ParserEngine: parser_prismis configured in a base config file. ([@sudoremo][])Lint/Voidwhen using a return value in assignment method definition. ([@koic][])Style/RedundantRegexpArgumentwhen using escaped single quote character. ([@koic][])Style/UnlessElsewhen usingunlesswiththen. ([@koic][]).rubocop.yml,.rubocop_todo.yml) change. ([@earlopain][]).rubocopconfig file. ([@earlopain][])Layout/LineLengthautocorrection from splitting a block if its receiver contains a heredoc. ([@dvandersluis][])Lint/ShadowedArgumentwhen assigning inside arescueblock. ([@earlopain][])Changes
positionEncodingutf-8andutf-32. ([@tmtm][])v1.80.2Compare Source
Bug fixes
Style/SafeNavigationwhen using ternary expression with index access call with method chain. ([@koic][])Style/RedundantParentheseswith unary operators andyield,super, ordefined?. ([@earlopain][])Style/RedundantParentheseswith method calls taking argument without parentheses likereturn (x y) if z. ([@earlopain][])Style/StringConcatenationwhen a double-quoted string contains escaped quotes and interpolation. ([@earlopain][])Style/StringConcatenationwhen a single-quoted string contains interpolation like'#{foo}'. ([@earlopain][])Changes
Naming/PredicateMethodallow theinitializemethod. ([@koic][])v1.80.1Compare Source
Bug fixes
--display-timeoption is used on the CLI. ([@lovro-bikic][])Style/RedundantBeginusingbeginwith multiple statements withoutrescueorensure. ([@koic][])Changes
Layout/EndAlignmentwhenendis not on a separate line. ([@lovro-bikic][])v1.80.0Compare Source
Bug fixes
Style/BitwisePredicatewhen using&with LHS flags in conjunction with==for comparisons. ([@koic][])Style/Forwith save navigation in the collection. ([@earlopain][])Lint/DuplicateRegexpCharacterClassElementis enabled. ([@earlopain][])Lint/UselessAssignmentwhen duplicate assignments appear in nestedifbranches inside a loop and the variable is used outsidewhileloop. ([@koic][])Naming/MethodNamewhen an operator method is defined using a string. ([@koic][])Style/RedundantParentheseswhendo...endblock is wrapped in parentheses as a method argument. ([@koic][])Style/SafeNavigation. ([@issyl0][])Layout/EmptyLinesAfterModuleInclusionwhenincludedoes not have exactly one argument. ([@issyl0][])Style/SafeNavigationcop to preserve existing safe navigation in fixed code. ([@martinemde][])Lint/UselessAssignmentwithforloops when the variable is referenced in the collection. ([@earlopain][])Style/RedundantConditionwith a parenthesised method call in the condition. ([@earlopain][])Changes
Lint/SelfAssignmentto handle indexed assignment with multiple arguments. ([@viralpraxis][])AutoCorrectandIncludefrom configuration parameters. ([@r7kamura][])Style/RedundantBeginaware ofcasepattern matching. ([@koic][])Style/ArrayIntersect. ([@lovro-bikic][])TextDocumentSyncKind.Incremental. ([@tmtm][])Style/RedundantBeginto registerbeginblocks insideif,unless,case,whileanduntilas redundant. ([@dvandersluis][])rubocop/rubocop-rspec (rubocop-rspec)
v3.7.0Compare Source
RSpec/IncludeExamplesasSafeAutoCorrect: false. ([@yujideveloper])RSpec/LeakyConstantDeclarationwhen defining constants in explicit namespaces. ([@naveg])raise_exceptionandraise_error) toRSpec/Dialect. ([@lovro-bikic])RSpec/DescribedClasswithinData.defineblocks. ([@lovro-bikic])RSpec/IteratedExpectationfor single expectations. ([@lovro-bikic])RSpec/ExcessiveDocstringSpacingwhen receivers are not RSpec methods. ([@ydah])Configuration
📅 Schedule: Branch creation - "after 8am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.