Update dependency rubocop to '~> 1.69.0' #62
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.68.0'->'~> 1.69.0'Release Notes
rubocop/rubocop (rubocop)
v1.69.0Compare Source
New features
Lint/HashNewWithKeywordArgumentsAsDefaultcop. ([@koic][])Lint/BinaryOperatorWithIdenticalOperandscop. ([@zopolis4][])Style/DigChaincop. ([@dvandersluis][])Style/FileNullcop. ([@dvandersluis][])Style/FileTouchcop. ([@lovro-bikic][])Lint/UselessDefinedto detect cases such asdefined?('Foo')whendefined?(Foo)was intended. ([@earlopain][])Bug fixes
Layout/EmptyLineAfterGuardClausewhen using a guard clause outside oneliner block. ([@koic][])Style/RedundantLineContinuationwhen there is a line continuation at the end of Ruby code followed by__END__data. ([@koic][])Style/CommentedKeyword. ([@dak2][])Style/IfWithSemicolonwhen usingreturnwith value inifwith a semicolon is used. ([@koic][])Style/IfWithSemicolonwhen the then body contains an arithmetic operator method call with an argument. ([@koic][])Style/RedundantConditionskip autocorrection when a branch has a comment. ([@koic][])Style/BitwisePredicatewhen having regular method. ([@d4be4st][])Lint/FloatComparisonagainst nil. ([@lovro-bikic][])Lint/InterpolationCheckwhen using invalid syntax in interpolation. ([@koic][])Lint/SafeNavigationConsistencywhen using unsafe navigation with both&&and||. ([@koic][])Naming/MemoizedInstanceVariableNamefor assignment methods`. ([@earlopain][])Naming/MemoizedInstanceVariableNamewhen usinginitialize_clone,initialize_copy, orinitialize_dup. ([@koic][])Style/SafeNavigationwhen using a method chain that exceeds theMaxChainLengthvalue and includes safe navigation operator. ([@koic][])Style/AccessModifierDeclarationsfor multiple inline symbols. ([@dvandersluis][])Lint/Voidif an operator is called in a void context using a dot. ([@dvandersluis][])Lint/DeprecatedOpenSSLConstantfalse positive when the argument is a safe navigation method call. ([@dvandersluis][])Style/AccessModifierDeclarationsto register (as positive or negative, depending onAllowModifiersOnSymbolsvalue) access modifiers with multiple symbols. ([@dvandersluis][])Lint/RedundantSplatExpansionwhen percent literal array is used in a safe navigation method call. ([@lovro-bikic][])Style/NestedTernaryOperatorwhen ternary operators are nested and the inner condition is parenthesized. ([@koic][])Style/OneLineConditionalwhen the else branch of a ternary operator has multiple expressions. ([@koic][])Style/RedundantRegexpArgumentwhen using escaped double quote character. ([@koic][])Style/IfWithSemicolonwhen using nested if/;/end in if body. ([@koic][])Layout/LeadingCommentSpaceto accept multiline shebangs at the top of the file. ([@dvandersluis][])Style/AccessModifierDeclarationsto handleattr_*methods with multiple parameters. ([@dvandersluis][])Style/SingleLineDoEndBlockto not register an offense if it will introduce a conflictingLayout/RedundantLineBreakoffense. ([@dvandersluis][])Changes
Layout/LineLengthwhenSplitStringsis set totrue. ([@dvandersluis][])Style/ArrayIntersectaware ofnone?. ([@earlopain][])Lint/ItWithoutArgumentsInBlockto not register offenses in Ruby 3.4. ([@dvandersluis][])Lint/RedundantSafeNavigationto register an offense when the receiver isself. ([@dvandersluis][])Lint/UnusedMethodArgumentto allow the class names forIgnoreNotImplementedMethodsto be configured. ([@dvandersluis][])Style/AccessModifierDeclarationsto accept modifier with splatted method call. ([@dvandersluis][])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.