chore(deps): update dependency rubocop-rails to v2.26.0 #761
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.0
Release Notes
rubocop/rubocop-rails (rubocop-rails)
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 - "after 3am on monday,before 6am on monday" in timezone Asia/Tokyo, 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 was generated by Mend Renovate. View the repository job log.