chore(deps): update dependency rubocop to v1.68.0 #2030
Merged
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.67.0->1.68.0Release Notes
rubocop/rubocop (rubocop)
v1.68.0Compare Source
New features
Style/BitwisePredicatecop. ([@koic][])Style/CombinableDefinedcop. ([@dvandersluis][])Style/AmbiguousEndlessMethodDefinitioncop. ([@dvandersluis][])Lint/UnescapedBracketInRegexpcop. ([@dvandersluis][])AllowSteepAnnotationconfig option toLayout/LeadingCommentSpace. ([@tk0miya][])IgnoreDuplicateElseBranchoption toLint/DuplicateBranch. ([@fatkodima][])Style/SafeNavigationChainLengthcop. ([@fatkodima][])Style/KeywordArgumentsMergingcop. ([@fatkodima][])Bug fixes
Style/RedundantLineContinuationwhen there is a line continuation at the EOF. ([@koic][])Naming/BlockForwardingwithStyle/ExplicitBlockArgument. ([@koic][])Style/BlockDelimitersautocorrection does not move other code between the block and comment. ([@dvandersluis][])Lint/UselessAssignmentcop when there is a useless assignment followed by a block. ([@pCosta99][])Style/MapIntoArraywhen using non-splatted arguments. ([@vlad-pisanov][])Layout/SpaceBeforeBracketswhen there is a dot before[]=. ([@earlopain][])Lint/SafeNavigationConsistencywhen using safe navigation on the LHS with operator method on the RHS of&&. ([@koic][])Style/GuardClausewhen using a local variable assigned in a conditional expression in a branch. ([@koic][])Style/RedundantLineContinuationwhen required line continuations for&&is used with an assignment after a line break. ([@koic][])Style/RedundantParentheseswhen parentheses are used around method chain withdo...endblock in keyword argument. ([@koic][])Lint/SafeNavigationChainwhen a safe navigation operator is used with a method call as the RHS operand of&&for the same receiver. ([@koic][])--disable-uncorrectableto not insert a comment inside a string continuation. ([@dvandersluis][])Lint/UselessAssignmenta multiple assignment orforcontains an inner assignment. ([@dvandersluis][])Style/BlockDelimiterswhenEnforcedStyle: semanticis set and used withLayout/SpaceInsideBlockBraces. ([@koic][])Style/RedundantInterpolationUnfreezeandStyle/RedundantFreezewhen strings contain interpolated global, instance, and class variables. ([@vlad-pisanov][])Layout/LineLengthfrom breaking up a method with arguments chained onto a heredoc delimiter. ([@dvandersluis][])--display-only-correctableand--display-only-safe-correctablewhen no offenses are displayed. ([@dvandersluis][])Style/MultipleComparisonwhenComparisonsThresholdexceeds 2. ([@fatkodima][],[@vlad-pisanov][])Lint/NonAtomicFileOperationwhen using a postfixunlessfor file existence checks before creating a file, in cases withDir.mkdir. ([@kotaro0522][])PercentLiteralCorrectorto be able to write pairs of delimiters without excessive escaping. ([@dvandersluis][])Style/SafeNavigationto not autocorrect if the RHS of anandnode is anornode. ([@dvandersluis][])Style/TernaryParentheseswith asendnode condition, ensure its arguments are parenthesized. ([@dvandersluis][])Changes
rubocop -V, show the analysis Ruby version of the current directory. ([@earlopain][])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 was generated by Mend Renovate. View the repository job log.