-
-
Couldn't load subscription status.
- Fork 1.5k
chore(deps): update dependency rubocop to v1.70.0 #2125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for selenium-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
CI Failure Feedback 🧐(Checks updated until commit e5793bf)
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR: where Configuration options
See more information about the |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This PR contains the following updates:
1.69.2->1.70.0Release 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: 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.