chore(deps): update dependency rubocop to v1.57.1 #642
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.56.2
->1.57.1
Release Notes
rubocop/rubocop (rubocop)
v1.57.1
Compare Source
Bug fixes
Lint/RedundantSafeNavigation
when using snake case constant receiver. ([@koic][])Layout/MultilineMethodCallIndentation
when usingarithmetic operation with block inside a grouped expression. ([@koic][])Style/RedundantException
. ([@ydah][])Layout/MultilineMethodCallIndentation
when multiline method chain with a block argument and method chain. ([@ydah][])Style/RedundantDoubleSplatHashBraces
when method call for no hash braced double splat receiver. ([@koic][])Style/RedundantDoubleSplatHashBraces
when using double splat hash braces withmerge
method call twice. ([@koic][])v1.57.0
Compare Source
New features
Style/SingleLineDoEndBlock
cop. ([@koic][])Lint/RedundantSafeNavigation
aware of constant receiver. ([@koic][])Style/RedundantDoubleSplatHashBraces
aware ofmerge
methods. ([@koic][])Bug fixes
Lint/Debugger
when using debugger method inside block. ([@koic][])Metrics/ModuleLength
when defining a singleton class in a module. ([@koic][])Style/IdenticalConditionalBranches
whenif
..else
with identical leading lines and assign to condition value. ([@koic][])Lint/LiteralInInterpolation
to accept an empty string literal interpolated in words literal. ([@knu][])Lint/MixedCaseRange
when using nested character class in regexp. ([@koic][])Style/NestedTernaryOperator
when a ternary operator has a nested ternary operator within anif
. ([@koic][])Style/MultilineBlockChain
when using multiline block chain with safe navigation operator. ([@koic][])Style/RedundantParentheses
when using logical or comparison expressions with redundant parentheses. ([@koic][])Layout/MultilineMethodCallIndentation
when aligning methods in multiline block chain. ([@koic][])Changes
Style/FormatString
's autocorrection when using known conversion methods whose return value is not an array. ([@koic][])Style/GuardClause
aware ofdefine_method
. ([@koic][])Style/RedundantFilterChain
aware ofselect.present?
whenActiveSupportExtensionsEnabled
config istrue
. ([@koic][])Lint/RedundantRequireStatement
as unsafe autocorrect. ([@koic][])Style/ClassEqualityComparison
. ([@koic][])Style/RedundantFilterChain
as unsafe autocorrect. ([@koic][])v1.56.4
Compare Source
Bug fixes
Layout/EmptyLineAfterGuardClause
when usingreturn
before guard condition with heredoc. ([@koic][])Lint/OrderedMagicComments
when comment text# encoding: ISO-8859-1
is embedded within example code as source code comment. ([@koic][])Style/OperatorMethodCall
when usingfoo bar./ baz
. ([@koic][])--disable-uncorrectable
command line option when registering an offense is outside a percent array. ([@koic][])Lint/SafeNavigationChain
when using safe navigation with comparison operator as an expression of logical operator or comparison operator's operand. ([@koic][])Style/OperatorMethodCall
when usingfoo./bar
. ([@koic][])Style/RedundantConditional
when unless/else with boolean results. ([@ydah][])Layout/MultilineMethodCallIndentation
when using safe navigation operator. ([@koic][])Changes
Style/CollectionMethods
aware ofcollect_concat
. ([@koic][])v1.56.3
Compare Source
Bug fixes
Layout/EmptyLineAfterGuardClause
allow:nocov:
directive after guard clause. ([@koic][])Layout/SpaceAfterNot
when a newline is present after!
. ([@ymap][])Layout/RedundantLineBreak
when using quoted symbols with a single newline. ([@ymap][])Layout/SpaceAroundOperators
when aligning operators vertically. ([@koic][])Style/ArrayIntersect
when using block argument forEnumerable#any?
. ([@koic][])Style/EmptyCaseCondition
when usingreturn
,break
,next
or method call before empty case condition. ([@koic][])Bundler/DuplicatedGroup
when there's a duplicate set of groups and thegroup
value contains a splat. ([@koic][])Lint/UselessAssignment
when variables are assigned using chained assignment and remain unreferenced. ([@koic][])Lint/UselessAssignment
when variables are assigned with sequential assignment using the comma operator and unreferenced. ([@koic][])Style/SoleNestedConditional
when comment is in an empty nestedif
body. ([@ymap][])Style/MultilineTernaryOperator
when returning a multiline ternary operator expression with safe navigation method call. ([@koic][])Style/ArgumentsForwarding
when there are repeated send nodes. ([@owst][])Layout/HeredocIndentation
. ([@tagliala][])Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), 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 has been generated by Mend Renovate. View repository job log here.