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:
@@ -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?: ~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user