Repository navigation
Update dependency rubocop to v1.92.2 - #3653
Merged
Merged
Conversation
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.92.1→1.92.2Release Notes
rubocop/rubocop (rubocop)
v1.92.2Compare Source
Bug fixes
Lint/RedundantCopDisableDirectivewhen autocorrection shifts lines. ([@koic][])Style/FloatDivisionwith a trailing comment. ([@a-lavis][])Lint/RedundantCopDisableDirectivewith a repeated disable. ([@koic][])Style/RaiseArgswithEnforcedStyle: compactand constructor arguments. ([@bbatsov][])Layout/RescueEnsureAlignmentwith index or-assignment. ([@koic][])Style/NumericPredicatewith a predicate nested in the receiver of another. ([@Starlexxx][])Style/RedundantConditionwith a nested modifierif. ([@koic][])Layout/HashAlignmentwith multiple styles and pairs on one line. ([@bbatsov][])Layout/LineLengthwith code after a heredoc opener. ([@koic][])Layout/SingleLineBlockChainwithStyle/MapToSet. ([@koic][])Layout/SpaceBeforeBlockBraceswith a brace after a line continuation. ([@Starlexxx][])Layout/SpaceBeforeBlockBraceswith a brace after a heredoc body. ([@bbatsov][])Lint/InterpolationCheckin a split string. ([@Starlexxx][])Lint/ParenthesesAsGroupedExpressionwith a command call operand. ([@koic][])Lint/RedundantSplatExpansionwithArray.newas a method argument. ([@wleeaf][])Style/AndOrwith a binary operator method operand. ([@bbatsov][])Style/AndOrwith a command call that takes adoblock. ([@Starlexxx][])Style/AndOrwith a method chained onto a command call's do block. ([@bbatsov][])Style/AndOrwith a negated command call that takes a do block. ([@bbatsov][])Style/AndOrwith a pattern matching, ternary, range ordefined?operand. ([@bbatsov][])Style/AndOrwithsupercalled with arguments. ([@bbatsov][])Style/CaseEqualitywith a non-numeric range. ([@wleeaf][])Style/ClassAndModuleChildrenwithStyle/DataInheritance. ([@koic][])Style/EndlessMethodwith modifier cops. ([@koic][])Style/HashAsLastArrayItemwithLayout/MultilineArrayBraceLayout. ([@Starlexxx][])Style/HashLookupMethodwith forwarded or splatted arguments. ([@koic][])Style/MethodCallWithArgsParentheseswithLayout/HeredocArgumentClosingParenthesis. ([@koic][])Style/MethodDefParentheseswith a line continuation. ([@koic][])Style/ParenthesesAroundConditionwith a command call assignment. ([@koic][])Style/QuotedSymbolswith a trailing backslash. ([@koic][])Style/RaiseArgscompact style withe.classas the exception. ([@bbatsov][])Style/RaiseArgswith a heredoc message. ([@Starlexxx][])Style/RaiseArgswith a parenthesizedraise. ([@koic][])Style/ReduceToHashwith a heredoc. ([@koic][])Style/RedundantBeginwith a ternary branch. ([@koic][])Style/RedundantExceptionwith a heredoc in a multiline call. ([@bbatsov][])Style/SingleLineMethodswith code after the method'send. ([@bbatsov][])Style/StringConcatenationwhen joining parts forms an interpolation. ([@Starlexxx][])Style/TrailingCommaInArgumentswith argument forwarding. ([@koic][])Layout/EmptyLinesAfterModuleInclusionwith a logical operator. ([@Starlexxx][])Layout/EmptyLinesAroundClassBodywithLayout/IndentationWidth. ([@koic][])Layout/EndAlignmentwith a class or module assigned to a constant. ([@Starlexxx][])Layout/ExtraSpacingwithLayout/LineLength. ([@koic][])Layout/SpaceAroundOperatorswithLayout/LineContinuationSpacing. ([@Starlexxx][])Layout/SpaceAroundOperatorswith hash rockets aligned on non-adjacent lines. ([@koic][])Layout/SpaceInsideBlockBraceswithLayout/BlockAlignment. ([@koic][])Layout/SpaceInsideRangeLiteralwith a nested endless range. ([@koic][])Style/EndlessMethodwhen the method definition itself has a modifierif/unless/while/untilor is followed byand/or/&&/||. ([@Starlexxx][])Style/RedundantBeginandStyle/IfUnlessModifierwithLayout/SpaceInsideParens. ([@koic][])Lint/NestedPercentLiteralwhen a percent literal contains format sequences such as%-5sor%.2f. ([@Vitalini][])Style/RedundantSelfwith a splat in multiple assignment. ([@koic][])Layout/HashAlignmentdeleting a double splat before a pair on the same line. ([@Starlexxx][]).rubocop.yml. ([@ihamzatarar][])Changes
Lint/PercentStringArraysuggest an array literal for quoted strings split at whitespace. ([@koic][])Configuration
📅 Schedule: (UTC)
🚦 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.
🔕 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.