Update dependency rubocop-rails to v2.26.2 #285
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:
2.25.1
->2.26.2
Release Notes
rubocop/rubocop-rails (rubocop-rails)
v2.26.2
Compare Source
Bug fixes
Rails/EnumSyntax
when using Ruby 2.7. ([@koic][])Rails/ActionControllerFlashBeforeRender
in combination with implicit returns. ([@earlopain][])Rails/FilePath
when passing an array toFile.join
. ([@earlopain][])Changes
filter
inRails/CompactBlank
. ([@masato-bkn][])v2.26.1
Compare Source
Bug fixes
Rails/EnumSyntax
for non-literal mappings. ([@earlopain][])Rails/WhereEquals
,Rails/WhereNot
, andRails/WhereRange
when qualifying the database name. ([@earlopain][])Changes
Rails/ApplicationRecord
to ignore migrations. ([@fatkodima][])Rails/EnumSyntax
to autocorrect underscored options. ([@fatkodima][])v2.26.0
Compare Source
New features
Rails/EnumSyntax
cop. ([@maxprokopiev][], [@koic][])Rails/EnumHash
cop. ([@ytjmt][])Rails/EnumUniqueness
cop. ([@ytjmt][])Bug fixes
Rails/BulkChangeTable
when the block forchange_table
is empty. ([@earlopain][])Rails/RenderPlainText
when the content type is passed as a constant. ([@earlopain][])Rails/Validation
when passing no arguments. ([@earlopain][])Rails/WhereNot
when using placeholder without second argument. ([@earlopain][])Rails/ActionControllerFlashBeforeRender
when using implicit render or rescue blocks. ([@tldn0718][])Rails/CompactBlank
when usingcollection.reject!
. ([@koic][])Rails/RedundantPresenceValidationOnBelongsTo
when removingpresence
would leave other non-validation options likeallow_blank
without validations. ([@earlopain][])Rails/PluralizationGrammar
aware of byte methods. ([@earlopain][])params
receiver by default forStyle/CollectionMethods
. ([@koic][])Rails/WhereEquals
when the second argument is not yet typed (where("foo = ?", )
). ([@earlopain][])Changes
Rails/CompactBlank
to handleselect(&:present?)
. ([@fatkodima][])Rails/IgnoredSkipActionFilterOption
to handle multiple callbacks. ([@fatkodima][])Rails/WhereEquals
aware ofwhere.not(...)
. ([@earlopain][])Rails/RootPathnameMethods
to detect offenses onDir.[]
. ([@r7kamura][])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 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.