Update dependency rubocop to '~> 1.75.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.74.0'
->'~> 1.75.0'
Release Notes
rubocop/rubocop (rubocop)
v1.75.1
Compare Source
Changes
EnforcedStyle: allow_named_parameter
toEnforcedStyle: only_numbered_parameters
inStyle/ItBlockParameter
. ([@koic][])v1.75.0
Compare Source
New features
Style/HashFetchChain
cop to detect chainedfetch
calls that can be replaced with a single call todig
. ([@dvandersluis][])Style/ItBlockParameter
cop. ([@koic][])it
block parameter inLayout
cops. ([@koic][])it
block parameter inLint
cops. ([@koic][])it
block parameter inMetrics
cops. ([@koic][])it
block parameter inStyle
cops. ([@koic][])TargetRubyVersion: 3.5
(experimental). ([@earlopain][])Bug fixes
Style/HashFetchChain
when no arguments are given tofetch
. ([@koic][])Layout/MultilineMethodParameterLineBreaks
when class method definitions are used. ([@vlad-pisanov][])Layout/LineLength
when autocorrecting class method definitions. ([@vlad-pisanov][])Layout/SpaceAroundOperators
andLayout/HashAlignment
withEnforcedHashRocketStyle
being an array containingtable
. ([@dvandersluis][])InternalAffairs/RedundantDescribedClassAsSubject
cop error on missingdescribe
. ([@viralpraxis][])Lint/ShadowingOuterLocalVariable
when block local variable is used inside a condition. ([@lovro-bikic][])Lint/UselessAssignment
when a variable is reassigned in a different branch. ([@eugeneius][])Style/SoleNestedConditional
. ([@lovro-bikic][])Style/IfInsideElse
. ([@lovro-bikic][])Changes
does
as a forbidden prefix toNaming/PredicateName
. ([@dvandersluis][])ForbiddenIdentifiers
andForbiddenPatterns
config options toNaming/MethodName
cop. ([@tejasbubane][])Array#intersection
toStyle/ArrayIntersect
. ([@dvandersluis][])prism
translation layer to analyze Ruby 3.4+ by default. ([@earlopain][])Style/RedundantParentheses
to offend parentheses for chained&&
expressions. ([@lovro-bikic][])AllowConsecutiveConditionals
setting toStyle/Next
to allow consecutive conditional statements. ([@vlad-pisanov][])Style/RedundantFormat
to register offenses when the only argument toformat
orsprintf
is a constant. ([@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.