Update dependency rubocop-rails to v2.33.4 #551
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.32.0->2.33.4Release Notes
rubocop/rubocop-rails (rubocop-rails)
v2.33.4Compare Source
Bug fixes
Rails/FindByOrAssignmentMemoizationwhen using endless method definition. ([@koic][])Rails/FindBywhenwheretakes a block. ([@earlopain][])Rails/ActionControllerFlashBeforeRenderwhen flash is called in a block. ([@5hun-s][])v2.33.3Compare Source
Bug fixes
Rails/FindByOrAssignmentMemoization. ([@earlopain][])v2.33.2Compare Source
Bug fixes
Rails/ReadWriteAttributewith a frozen string attribute name. ([@viralpraxis][])v2.33.1Compare Source
Bug fixes
Rails/TransactionExitStatementwhentransactionis part of a method chain. ([@earlopain][])Rails/OrderArgumentscop false positives when using column index argument. ([@viralpraxis][])Rails/WhereExistswhenexists?is given multiple or splat arguments. ([@lovro-bikic][])v2.33.0Compare Source
New features
Rails/FindByOrAssignmentMemoizationcop. ([@r7kamura][])Rails/OrderArguments. ([@lovro-bikic][])Bug fixes
Rails/PluckIdandRails/PluckInWhere. ([@r7kamura][])Rails/EnvLocalwhen having preceding conditions. ([@fatkodima][])Rails/Pluckwhenmapmethod call is used in a block without a receiver. ([@koic][])Rails/Outputwhenpmethod is a DSL. ([@koic][])Rails/TransactionExitStatementwhenbreakis used in loop in transactions. ([@koic][])Rails/IndexWithhas nested offenses. ([@lovro-bikic][])Changes
Lint/UselessMethodDefinition. ([@r7kamura][])Rails/EnumSyntaxinclude the lib directory by default. ([@koic][])Rails/IndexWithas unsafe autocorrect. ([@tejasbubane][])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.