Update dependency rubocop-rails to '~> 2.28' #1636
Open
+14
−14
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:
'~> 2.26', '>= 2.26.2'
->'~> 2.28'
Release Notes
rubocop/rubocop-rails (rubocop-rails)
v2.28.0
Compare Source
New features
AllCops: MigratedSchemaVersion
config. ([@koic][])Bug fixes
Rails/SelectMap
whenselect
has no receiver and method chains are used. ([@masato-bkn][])Rails/RedundantActiveRecordAllMethod
when usingall
method in block. ([@masato-bkn][])Rails/FilePath
cop error onjoin
method with implicit receiver. ([@viralpraxis][])Rails/FilePath
cop error in case of extra operations inRails.root
interpolation. ([@viralpraxis][])Rails/FilePath
cop error with rescuedRails.root
. ([@viralpraxis][])Changes
Rails/Pluck
to ignoremap/collect
when used inside blocks to prevent potential N+1 queries. ([@masato-bkn][])v2.27.0
Compare Source
Bug fixes
Rails/EnumSyntax
when positional arguments are used and options are not passed as keyword arguments. ([@koic][])Rails/TimeZone
should not report offense onString#to_time
with timezone specifier. ([@armandmgt][])Changes
Rails/TransactionExitStatement
on Rails >= 7.2. ([@earlopain][])Rails/EnvLocal
to handle negated conditions. ([@fatkodima][])Rails/SelectMap
to handle safe navigation operators. ([@fatkodima][])Configuration
📅 Schedule: Branch creation - "after 13:00 on monday" in timezone Europe/Brussels, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.