Merge pull request #5271 from consuldemocracy/dependabot/bundler/rubocop-rails-2.21.2

Bump rubocop-rails from 2.20.2 to 2.21.2
This commit is contained in:
Javi Martín
2023-11-20 17:54:30 +01:00
committed by GitHub
32 changed files with 83 additions and 72 deletions

View File

@@ -443,6 +443,9 @@ Rails/PluralizationGrammar:
Rails/Presence:
Enabled: true
Rails/RedundantActiveRecordAllMethod:
Enabled: true
Rails/RedundantTravelBack:
Enabled: true
@@ -466,6 +469,9 @@ Rails/SaveBang:
Enabled: true
Severity: refactor
Rails/SelectMap:
Enabled: true
Rails/SkipsModelValidations:
Enabled: true
ForbiddenMethods:
@@ -689,6 +695,7 @@ Style/InvertibleUnlessCondition:
Enabled: true
InverseMethods:
:blank?: :present?
:include?: ~
:present?: :blank?
:zero?: ~