Repository navigation
deps(minor): update dependency rubocop to v1.93.0 - #417
Merged
Merged
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
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.3→1.93.0Release Notes
rubocop/rubocop (rubocop)
v1.93.0Compare Source
New features
InternalAffairs/InvalidNodePatterncop. ([@bbatsov][])InternalAffairs/NodeSearchAsConditioncop. ([@bbatsov][])InternalAffairs/RedundantAutocorrectIncompatibleWithcop. ([@bbatsov][])prismvalue ofAllCops: ParserEngine, which builds the AST from Prism without its parser translation layer. ([@bbatsov][])Bug fixes
Layout/FirstArgumentIndentationwhen the outer method call uses safe navigation. ([@bbatsov][])Style/ArrayCoercionwhen checking against::Array. ([@bbatsov][])Style/FetchEnvVarwhen using::ENV. ([@bbatsov][])Style/RedundantInterpolationUnfreezewhen using::String.new. ([@bbatsov][])Style/RedundantSortwhensort_bywith a block argument and an index method are called with safe navigation. ([@bbatsov][])Gemspec/RubyVersionGlobalsUsagewhen the file has no gem specification. ([@bbatsov][])Lint/DuplicateRequirewhenrequireis called on a namespaced constant namedKernel. ([@bbatsov][])Lint/ShadowingOuterLocalVariablewhen using::Ractor.new. ([@bbatsov][])Lint/UselessDefaultValueArgumentwhennewis called on a namespaced constant namedArray. ([@bbatsov][])Style/EmptyClassDefinitionwhennewis called on a namespaced constant namedClass. ([@bbatsov][])Layout/LineLengthwith a heredoc before a multiline endless method body. ([@bbatsov][])Layout/LineLengthwith an endless method with a heredoc. ([@Starlexxx][])Lint/NonAtomicFileOperationwiththen. ([@koic][])Lint/RedundantCopDisableDirectivewith a cop that becomes redundant after a correction. ([@koic][])Lint/RedundantStringCoercionwith a heredoc in the receiver. ([@koic][])Lint/RequireRelativeSelfPathwhen the value of the require is used. ([@bbatsov][])Lint/RequireRelativeSelfPathwith code on the same line. ([@Starlexxx][])Lint/UselessAssignmentwith the first argument of a method call without parentheses. ([@koic][])Lint/UselessTimeswith a heredoc or arescueclause in the block. ([@bbatsov][])Lint/UselessTimeswith an inconsistently indented body. ([@koic][])Style/EmptyClassDefinitionwith ado...endblock command call. ([@koic][])Style/EmptyMethodwith a heredoc. ([@Starlexxx][])Style/FileWritewith code after a heredoc argument. ([@koic][])Style/Forwith a trailing comma in the loop variable. ([@Starlexxx][])Style/MultilineMethodSignaturewithStyle/MethodDefParentheses. ([@koic][])Style/MultilineTernaryOperatorwith a heredoc. ([@koic][])Style/NonNilCheckwith a heredoc opened before the receiver. ([@bbatsov][])Style/OperatorMethodCallwithStyle/TrailingCommaInArguments. ([@Starlexxx][])Style/OperatorMethodCallwith a trailing comma. ([@Starlexxx][])Style/RaiseArgswith a trailing comma after a heredoc. ([@koic][])Style/RedundantArrayConstructorwithStyle/TrailingCommaInArguments. ([@Starlexxx][])Style/RedundantArrayConstructorwith a comment or heredoc outside the array literal. ([@Starlexxx][])Style/RedundantBeginwith code after a modifier condition. ([@koic][])Style/RedundantEachwith.eachon its own line. ([@bbatsov][])Style/RedundantExceptionwith a heredoc or comment in the removed source. ([@Starlexxx][])Style/RedundantInitializewith a method definition used as a value. ([@koic][])Style/RedundantInterpolationUnfreezewithStyle/TrailingCommaInArguments. ([@koic][])Style/StructInheritanceandStyle/DataInheritancewith code afterend. ([@koic][])Layout/EmptyLinesAroundAccessModifierwith a conditional access modifier in a block. ([@koic][])Layout/EmptyLinesAroundClassBodyandLayout/EmptyLinesAroundModuleBodywith a statement on the class line. ([@koic][])Style/DigChain. ([@Starlexxx][])Style/RedundantRegexpConstructor. ([@Starlexxx][])Style/EachWithObjectwhennextchanges the accumulator. ([@Starlexxx][])Style/ArgumentsForwardingwhen anonymous arguments are all forwarded in a singleton method or with safe navigation. ([@bbatsov][])Style/FileReadwhen the block uses a numbered parameter orit. ([@bbatsov][])Style/FileWritewhen the block uses a numbered parameter orit. ([@bbatsov][])Style/HashTransformKeysandStyle/HashTransformValueswhen the receiver is a block that uses a numbered parameter orit. ([@bbatsov][])Lint/DuplicateMethodswhen a method is redefined afterundef,undef_method, orremove_method. ([@APX403][])Style/HashTransformKeysandStyle/HashTransformValueswhen[]is called on a namespaced constant namedHash. ([@bbatsov][])endwhenStyle/SoleNestedConditionalmerges conditions. ([@Starlexxx][])elseline inStyle/NegatedIfElseCondition. ([@Starlexxx][])Style/RedundantPercentQwithStyle/RedundantStringEscape. ([@Starlexxx][])Style/ArrayIntersectcorrections. ([@Starlexxx][])Style/NilComparisoncorrections. ([@Starlexxx][])Style/NonNilCheckcorrections. ([@Starlexxx][])Style/RedundantInterpolationcorrections. ([@Starlexxx][])Style/SingleArgumentDig. ([@Starlexxx][])Lint/NumberConversioncorrections. ([@Starlexxx][])Lint/LambdaWithoutLiteralBlock. ([@Starlexxx][])Lint/UselessNumericOperation. ([@Starlexxx][])Style/RedundantSelfAssignment. ([@Starlexxx][])Style/SwapValuescorrections. ([@Starlexxx][])breakinStyle/NilLambda. ([@Starlexxx][])Style/RedundantEach. ([@Starlexxx][])Lint/UselessTimes. ([@Starlexxx][])TargetRubyVersionnot being validated in a configuration file given with--config. ([@bbatsov][])Changes
ParserEnginethat cannot parse the target Ruby version, or that needs theparsergem when it is not installed, as a configuration error instead of a backtrace. ([@bbatsov][])prismthe default parser engine for Ruby 3.3+ when Prism 2.0 or later is installed. ([@bbatsov][])Cop::Base#parseuse the Ruby version and the parser engine of the source under investigation. ([@bbatsov][])ParserEngineisparser_whitequark. ([@bbatsov][])rubocop -Vshow the parser engine that is used whenAllCops: ParserEngineis not set. ([@bbatsov][])Configuration
📅 Schedule: (UTC)
🚦 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.