Enable Style/TrailingCommaInArguments

This commit is contained in:
gregoirenovel 2018-10-01 14:08:12 +02:00
parent 275bb64c1f
commit 7e4268db67
4 changed files with 4 additions and 4 deletions

View file

@ -1220,7 +1220,7 @@ Style/TrailingBodyOnModule:
Enabled: true
Style/TrailingCommaInArguments:
Enabled: false
Enabled: true
Style/TrailingCommaInArrayLiteral:
Enabled: true

View file

@ -19,7 +19,7 @@ class CARTO::SGMAP::API
RestClient::Resource.new(
url,
verify_ssl: verify_ssl_mode,
verify_ssl: verify_ssl_mode
).post params[:geojson], content_type: 'application/json'
rescue RestClient::InternalServerError

View file

@ -753,7 +753,7 @@ describe Procedure do
p = create(
:procedure,
juridique_required: false,
cadre_juridique: nil,
cadre_juridique: nil
)
expect(p.juridique_required).to be_falsey

View file

@ -5,7 +5,7 @@ describe 'new_gestionnaire/dossiers/envoyer_dossier_block.html.haml', type: :vie
render(
'new_gestionnaire/dossiers/envoyer_dossier_block.html.haml',
dossier: dossier,
potential_recipients: potential_recipients,
potential_recipients: potential_recipients
)
end