Update dependency rubocop to '~> 1.57.0' #50
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.56.0'
->'~> 1.57.0'
Release Notes
rubocop/rubocop (rubocop)
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][])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.