Update dependency rubocop to v1.70.0#67
Merged
renovate[bot] merged 1 commit intomasterfrom Jan 10, 2025
Merged
Conversation
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.69.2'->'1.70.0'Release Notes
rubocop/rubocop (rubocop)
v1.70.0Compare Source
New features
Style/ItAssignmentcop to detect local assignments toitinside blocks. ([@dvandersluis][])Lint/SharedMutableDefaultcop to alert on mutable Hash defaults. ([@corsonknowles][])Lint/ConstantReassignment. ([@lovro-bikic][])target_gem_versionAPI to change behavior of a cop at runtime depending on which gem version is present. ([@earlopain][])Bug fixes
Lint/NonAtomicFileOperationto detect offenses with fully qualified constants. ([@viralpraxis][])--formatoption to accept fully qualified formatter class names. ([@viralpraxis][])Lint/Syntaxwhen a syntax error occurs. ([@earlopain][])RuboCop::Cop::Util.to_string_literalto work correctly with frozen strings. ([@viralpraxis][])Lint/Voidinside of non-modifier conditionals. ([@GabeIsman][])Style/MultipleComparisonwhen settingAllowMethodComparison: falseand comparing with simple method calls. ([@koic][])Layout/EmptyLinesAroundAccessModifierwhen an access modifier and an expression are on the same line. ([@koic][])Style/MethodCallWithArgsParentheseswhen settingEnforcedStyle: omit_parenthesesand last argument is an endless range. ([@earlopain][])Style/RaiseArgswith anonymous splat and triple dot forwarding. ([@earlopain][])Lint/NestedMethodDefinitionwhen defining a method on a constant or a method call. ([@koic][])Style/MultipleComparisonwhen using multiple safe navigation method calls. ([@koic][])Style/RedundantInitializewhen empty initialize method has arguments. ([@marocchino][])rubocop -don a config with a remoteinherit_fromthat causes a duplicate setting warning. ([@dvandersluis][])Style/RedundantLineContinuationwith multiple line continuations. ([@dvandersluis][])Naming/BlockForwardingwhen method just returns the block argument. ([@mvz][])Layout/HashAlignmentwhen there is a multiline positional argument andLayout/ArgumentAlignmentis configured withEnforcedStyle: with_fixed_indentation. ([@dvandersluis][])Layout/SpaceAroundOperatorswhen different comparison operators were aligned with each other. ([@dvandersluis][])Lint/LiteralInInterpolationcop error on invalid string literal. ([@viralpraxis][])Lint/NonAtomicFileOperationcop error on non-constant receiver. ([@viralpraxis][])Lint/Voidcop error onifwithout body. ([@viralpraxis][])Style/ClassAndModuleChildrencop error oncompactenforced style and unindented body. ([@viralpraxis][])Style/FloatDivisioncop error if#to_fhas implicit receiver. ([@viralpraxis][])Style/HashExceptto recognize safe navigation whenActiveSupportExtensionsEnabledconfig is enabled. ([@lovro-bikic][])Style/HashSyntaxcop error on implicitcallmethod. ([@viralpraxis][])Style/MissingElsecop error ifStyle/EmptyElse'sEnforcedStyleis notbothandifexpression containselsif. ([@viralpraxis][])Style/MissingElsecop error ifStyle/EmptyElse'sEnforcedStyleis notbothandifexpression contains multipleelsif. ([@viralpraxis][])Style/RedundantConditioncop error on parentheses and modifierifinelse. ([@viralpraxis][])Style/RedundantRegexpArgumentwhen the regex contains a single quote. ([@mrzasa][])Style/YodaExpressioncop error in case of suffix form of operator. ([@viralpraxis][])Layout/LineContinuationSpacingto ignore continuations inside aregexporxstr. ([@dvandersluis][])Style/SuperArgumentsto handlesuperwith a block or with a chained method with a block. ([@dvandersluis][])NoMethodErrorinConfigValidatorwhen a Cop's config is not aHashand raiseValidationErrorinstead. ([@amomchilov][])Changes
Style/ObjectThen. ([@dvandersluis][])Layout/HashAlignment. ([@dvandersluis][])Layout/HeredocArgumentClosingParenthesis. ([@dvandersluis][])Layout/LineLength. ([@dvandersluis][])Style/SendWithLiteralMethodName. ([@dvandersluis][])Lint/NumericOperationWithConstantResult. ([@earlopain][])Style/SlicingWithRangewhen calling.[]or&.[]with a correctable range. ([@dvandersluis][])Lint/DuplicateSetElementto detect offences withinSortedSet. ([@viralpraxis][])Layout/TrailingWhitespaceto support blank characters other than space and tab. ([@krororo][])Metrics/MethodLengthto make use ofAllowedMethodsandAllowedPatternsfor methods defined dynamically withdefine_method. ([@dvandersluis][])Style/AccessModifierDeclarationsto addAllowModifiersOnAliasMethodconfiguration (defaulttrue). ([@dvandersluis][])Style/RedundantSelfAssignmentto handle safe navigation on the right-hand side of the assignment. ([@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.