Update dependency rubocop to v1.67.0 #116
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.66.1'
->'1.67.0'
Release Notes
rubocop/rubocop (rubocop)
v1.67.0
Compare Source
New features
Lint/DuplicateSetElement
cop. ([@koic][])AllowRBSInlineAnnotation
config option toLayout/LeadingCommentSpace
to support RBS::Inline style annotation comments. ([@tk0miya][])rubocop -V
. ([@koic][])Bug fixes
Style/Semicolon
when using a semicolon between a closing parenthesis after a line break and a consequent expression. ([@koic][])Lint/ParenthesesAsGroupedExpression
with compound ranges. ([@gsamokovarov][])Style/BlockDelimiters
when a single line do-end block with an inlinerescue
with a semicolon beforerescue
. ([@koic][])Layout/AccessModifierIndentation
when the access modifier is on the same line as the class definition. ([@koic][])Style/OneLineConditional
when using nested if/then/else/end. ([@koic][])Lint/ImplicitStringConcatenation
withLint/TripleQuotes
when string literals with triple quotes are used. ([@koic][])Style/ArgumentsForwarding
when using only forwarded arguments in brackets. ([@koic][])Style/CombinableLoops
when looping over the same data with different block variable names. ([@koic][])Style/RescueModifier
when using modifier rescue for method call with heredoc argument. ([@koic][])--auto-gen-config
when passing an absolute config path. ([@earlopain][])Style/OperatorMethodCall
with/
operations followed by a parenthesized argument. ([@dvandersluis][])Style/IfUnlessModifier
when multilineif
that fits on one line and using implicit method call with hash value omission syntax. ([@koic][])Style/ArgumentsForwarding
with Ruby 3.0 and optional position arguments. ([@earlopain][])Lint/AmbiguousRange
when using rational literals. ([@koic][])Lint/RedundantSafeNavigation
with namespaced constants. ([@earlopain][])Style/OperatorMethodCall
with named forwarding. ([@earlopain][])Style/AccessModifierDeclarations
whenAllowModifiersOnAttrs: true
and using splat with a percent symbol array, or with a constant. ([@koic][])Style/RedundantLineContinuation
when line continuations with comparison operator and the LHS is wrapped in parentheses. ([@koic][])Style/ArgumentsForwarding
when argument is used inside a block. ([@dvandersluis][])Style/CollectionCompact
when usingdelete_if
. ([@masato-bkn][])regexp
inLint/LiteralInInterpolation
. ([@dvandersluis][])Style/IfWithSemicolon
when single-lineif/;/end
when the then body contains a method call with[]
or[]=
. ([@koic][])Style/HashEachMethods
if the hash is modified within the block. ([@dvandersluis][])TargetRubyVersion
from a gemspec when the gemspec is not named like the folder it is located in. ([@earlopain][])Style/GuardClause
when using heredoc withoutelse
branch. ([@earlopain][])Lint/BigDecimalNew
when using::BigDecimal.new
. ([@earlopain][])Style/MethodCallWithArgsParentheses
withEnforcedStyle: omit_parentheses
and whitespace. ([@earlopain][])Style/RedundantBegin
andStyle/BlockDelimiters
withEnforcedStyle: braces_for_chaining
. ([@earlopain][])Changes
Style/AccessorGrouping
. ([@tk0miya][])AllowedMethods
configuration toLayout/FirstMethodArgumentLineBreak
. ([@dvandersluis][])Style/ArgumentsForwarding
for detecting forwarding of all anonymous arguments. ([@dvandersluis][])Style/CommentedKeyword
. ([@tk0miya][])RuboCop::Cop::Cop
. ([@earlopain][])EnforcedShorthandSyntax: either
by default forStyle/HashSyntax
. ([@koic][])Naming/InclusiveLanguage
when a sole suggestion is set. ([@koic][])Style/SelectByRegexp
aware offilter
in Ruby version 2.6 or above. ([@masato-bkn][])Lint/SafeNavigationConsistency
cop to check that the safe navigation operator is applied consistently and without excess or deficiency. ([@koic][])Style/SafeNavigation
offenses. ([@dvandersluis][])filter/filter!
inStyle/CollectionCompact
. ([@masato-bkn][])Lint/UriRegexp
to avoid obsolete API. ([@koic][])Style/MapIntoArray
to be able to handle arrays created using[].tap
. ([@dvandersluis][])Style/ReturnNilInPredicateMethodDefinition
to detect implicitnil
returns insideif
. ([@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.