chore(deps): update dependency rubocop to v1.72.2 #4809
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.71.2
->1.72.2
Release Notes
rubocop/rubocop (rubocop)
v1.72.2
Compare Source
Bug fixes
AllCops: Exclude
as expected. ([@koic][])Style/RedundantFormat
when a template argument is used without keyword arguments. ([@koic][])Style/RedundantFormat
when numeric placeholders is used in the template argument. ([@koic][])ArgumentError
related to two deprecatedAllowedPattern
APIs. ([@koic][])Lint/UselessConstantScoping
when multiple assigning to constants afterprivate
access modifier. ([@koic][])Lint/UselessConstantScoping
when a constant is used afterprivate
access modifier with arguments. ([@koic][])Changes
Style/RedundantFormat
as unsafe autocorrect. ([@koic][])v1.72.1
Compare Source
Bug fixes
Style/RedundantParentheses
when a different expression appears before a range literal. ([@koic][])Lint/RedundantTypeConversion
when passing block arguments when generating a Hash or a Set. ([@koic][])Changes
v1.72.0
Compare Source
New features
Lint/CopDirectiveSyntax
cop. ([@kyanagi][])Lint/SuppressedExceptionInNumberConversion
cop. ([@koic][])Lint/RedundantTypeConversion
cop. ([@dvandersluis][])Lint/UselessConstantScoping
cop. ([@koic][])Style/RedundantFormat
cop to check for uses offormat
orsprintf
with only a single string argument. ([@dvandersluis][])InternalAffairs/LocationExists
cop to check for code that can be replaced withNode#loc?
orNode#loc_is?
. ([@dvandersluis][])inherit_from
andrequire
for automatically restart. ([@koic][])Naming/PredicateName
: Optionally use Sorbet to detect predicate methods. ([@issyl0][])Bug fixes
Style/RedundantParentheses
when chaining[]
method calls. ([@koic][])Style/RedundantParentheses
when[]
method is called with variable or constant receivers. ([@koic][])Style/RedundantParentheses
when handling range literals with redundant parentheses. ([@koic][])Layout/EmptyLinesAroundMethodBody
for endless methods. ([@dvandersluis][])Lint/FormatParameterMismatch
when the width value is interpolated. ([@dvandersluis][])Layout/BlockAlignment
for blocks that are the body of an endless method. ([@dvandersluis][])Configuration
📅 Schedule: Branch creation - "* 0-3 * * *" (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 was generated by Mend Renovate. View the repository job log.