Update dependency rubocop to v1.75.5 - autoclosed #79
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.75.1
->1.75.5
Release Notes
rubocop/rubocop (rubocop)
v1.75.5
Compare Source
Bug fixes
Layout/SpaceAfterSemicolon
withLayout/SpaceBeforeSemicolon
when a sequence of semicolons appears. ([@koic][])Lint/ArrayLiteralInRegexp
cop error on empty interpolation. ([@viralpraxis][])Layout/HashAlignment
. ([@jonas054][])Style/ArgumentsForwarding
when using anonymous block argument forwarding to a method with a block. ([@koic][])Layout/LeadingCommentSpace
to allow splitting long inline RBS comment signatures across multiple lines. ([@Morriar][])Lint/LiteralAsCondition
cop error onif
without body. ([@viralpraxis][])Lint/Void
cop error on nested emptybegin
. ([@viralpraxis][])Style/IdenticalConditionalBranches
cop failure in case ofif
node with implicitthen
. ([@viralpraxis][])Style/MethodCallWithArgsParentheses
cop error on complex numbers whenEnforcedStyle
is set toomit_parentheses
. ([@viralpraxis][])Style/TrailingCommaInArguments
cop error ifEnforcedStyleForMultiline
is set tocomma
. ([@viralpraxis][])Changes
Layout/SpaceInsideArrayLiteralBrackets
make aware of array pattern matching. ([@koic][])Layout/SpaceInsideHashLiteralBraces
make aware of hash pattern matching. ([@koic][])v1.75.4
Compare Source
Bug fixes
Lint/BooleanSymbol
when using the rocket hash syntax with a boolean symbol key. ([@koic][])Style/ComparableBetween
when comparing the value with itself. ([@earlopain][])Style/SafeNavigation
when the RHS of&&
is a complex||
expression composed of&&
conditions. ([@koic][])Style/ArgumentsForwarding
when using default positional arg, keyword arg, and block arg in Ruby 3.1. ([@koic][])Style/RedundantParentheses
when parens around basic conditional as the second argument of a parenthesized method call. ([@koic][])Style/RedundantParentheses
when parens around unparenthesized method call as the second argument of a parenthesized method call. ([@koic][])Lint/LiteralAsCondition
autocorrect when a literal is the condition of an elsif followed by an else. ([@zopolis4][])Style/TrailingCommaInArguments
cop aware of trailing commas in[]
method call. ([@viralpraxis][])Style/ClassAndModuleChildren
cop error on tab-intended compactable modules. ([@viralpraxis][])Changes
Lint/CircularArgumentReference
on Ruby 3.4. ([@earlopain][])v1.75.3
Compare Source
Bug fixes
#:
after end keyword inStyle/CommentedKeyword
. ([@dak2][])Layout/EmptyLineAfterGuardClause
when calling a method on the result of a single-lineif
withreturn
. ([@koic][])Style/RedundantParentheses
when using parens around singleton method body. ([@koic][])EnforcedStyleForMultiline: diff_comma
ofStyle/TrailingCommaInArrayLiteral
andStyle/TrailingCommaInHashLiteral
when trailing comma with comment. ([@koic][])Style/RedundantParentheses
when using some operator methods with a parenthesized argument. ([@koic][])Layout/MultilineOperationIndentation
cop error onindexasgn
node without arguments. ([@viralpraxis][])Style/ClassAndModuleChildren
cop error on one-liner class definition and nested enforced style. ([@viralpraxis][])Style/ConditionalAssignment
cop error on one-line if-then-else. ([@viralpraxis][])Style/ConditionalAssignment
cop error on indexed assignment without arguments. ([@viralpraxis][])Style/RedundantLineContinuation
cop error on multiline assignment with line continuation. ([@viralpraxis][])Style/SafeNavigation
with longer&&
chain (e.g.a && a.b && a.b.c
). ([@lovro-bikic][])Style/MapIntoArray
when usingpush
orappend
with hash argument without braces. ([@lovro-bikic][])Changes
Style/RedundantParentheses
. ([@lovro-bikic][])References
overReference
in cop configs. ([@sambostock][])v1.75.2
Compare Source
Changes
Lint/RedundantTypeConversion
to register an offense forto_json.to_s
. ([@lovro-bikic][])Bug fixes
Lint/DeprecatedOpenSSLConstant
cipher constant argument is notcbc
. ([@koic][])Style/RedundantCondition
when true is used as the true branch and the condition takes arguments. ([@koic][])Lint/ReturnInVoidContext
when returning insidedefine_method
or a nested singleton method. ([@earlopain][])Style/ConditionalAssignment
cop error on dynamic string node in branch. ([@viralpraxis][])Style/FrozenStringLiteralComment
cop errors on emacs-styled magic comment. ([@viralpraxis][])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.