Enable the Lint/UnderscorePrefixedVariableName cop

This commit is contained in:
gregoirenovel 2018-12-24 17:48:29 +01:00 committed by Pierre de La Morinerie
parent baf7977786
commit ddc71cbacf
2 changed files with 3 additions and 3 deletions

View file

@ -450,7 +450,7 @@ Lint/Syntax:
Enabled: true
Lint/UnderscorePrefixedVariableName:
Enabled: false
Enabled: true
Lint/UnifiedInteger:
Enabled: true

View file

@ -16,8 +16,8 @@ FactoryBot.define do
dossiers_count { 1 }
end
after(:build) do |procedure, _evaluator|
procedure.dossiers << create_list(:dossier, _evaluator.dossiers_count, procedure: procedure)
after(:build) do |procedure, evaluator|
procedure.dossiers << create_list(:dossier, evaluator.dossiers_count, procedure: procedure)
end
end