chore(deps): update dependency rubocop to v1.71.0 #2925
+5
−5
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.70.0
->1.71.0
Release Notes
rubocop/rubocop (rubocop)
v1.71.0
Compare Source
New features
Lint/ArrayLiteralInRegexp
cop. ([@dvandersluis][])Style/HashSlice
cop. ([@lovro-bikic][])Bug fixes
Style/FrozenStringLiteralComment
when using the frozen string literal magic comment in Active Admin's arb files. ([@koic][])rubocop_cache
to the path given by--cache-root
when pruning cache. ([@capncavedan][])Lint/OutOfRangeRegexpRef
when matching withmatch
using safe navigation. ([@koic][])Style/BlockDelimiters
when using brace blocks as conditions underEnforcedStyle: semantic
. ([@koic][])Style/RedundantLineContinuation
when the continuation is preceded by an interpolated string. ([@dvandersluis][])Style/RedundantLineContinuation
when the continuation is followed by a percent array. ([@dvandersluis][])Style/RedundantLineContinuation
when the ruby code ends with a commented continuation. ([@dvandersluis][])Style/ArrayFirstLast
when calling.[]
or&.[]
with 0 or -1. ([@dvandersluis][])Lint/SafeNavigationChain
when adding safe navigation to an operator call inside a hash. ([@dvandersluis][])Style/IfUnlessModifier
when using omitted hash values in an assignment. ([@elliottt][])Style/SoleNestedConditional
. ([@tejasbubane][])Style/RedundantLineContinuation
when calling methods with fully qualified constants. ([@earlopain][])Style/ConditionalAssignment
cop error onunless
withoutelse
andassign_inside_condition
enforced style. ([@viralpraxis][])Style/FrozenStringLiteralComment
cop error on unnormalized magic comment andnever
enforced style. ([@viralpraxis][])Metrics/CollectionLiteralLength
to only register for[]
when called onSet
. ([@dvandersluis][])Changes
Lint/FloatComparison
. ([@dvandersluis][])Layout/MultilineMethodCallBraceLayout
. ([@dvandersluis][])Layout/MultilineMethodArgumentLineBreaks
. ([@dvandersluis][])Security/CompoundHash
. ([@dvandersluis][])Style/BlockDelimiters
. ([@dvandersluis][])Style/CollectionMethods
. ([@dvandersluis][])Style/MapToSet
. ([@dvandersluis][])Style/MethodCallWithoutArgsParentheses
. ([@dvandersluis][])Lint/NumericOperationWithConstantResult
. ([@dvandersluis][])Lint/RedundantStringCoercion
. ([@dvandersluis][])Lint/UselessNumericOperation
. ([@dvandersluis][])--show-cops
. ([@kyanagi][])Style/RedundantParentheses
aware of parenthesized assignment. ([@koic][])Style/RedundantLineContinuation
to handle required continuations followingsuper
. ([@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 is behind base branch, 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.