Enable Style/TrailingCommaInArrayLiteral

This commit is contained in:
gregoirenovel 2018-10-01 14:06:57 +02:00
parent a171186dd8
commit 275bb64c1f
6 changed files with 11 additions and 11 deletions

View file

@ -1223,7 +1223,7 @@ Style/TrailingCommaInArguments:
Enabled: false
Style/TrailingCommaInArrayLiteral:
Enabled: false
Enabled: true
Style/TrailingCommaInHashLiteral:
Enabled: true

View file

@ -27,7 +27,7 @@ class AdministrateurDashboard < Administrate::BaseDashboard
:email,
:created_at,
:procedures,
:registration_state,
:registration_state
].freeze
# SHOW_PAGE_ATTRIBUTES
@ -40,7 +40,7 @@ class AdministrateurDashboard < Administrate::BaseDashboard
:registration_state,
:current_sign_in_at,
:features,
:procedures,
:procedures
].freeze
# FORM_ATTRIBUTES

View file

@ -24,7 +24,7 @@ class GestionnaireDashboard < Administrate::BaseDashboard
# Feel free to add, remove, or rearrange items.
COLLECTION_ATTRIBUTES = [
:email,
:created_at,
:created_at
].freeze
# SHOW_PAGE_ATTRIBUTES
@ -35,7 +35,7 @@ class GestionnaireDashboard < Administrate::BaseDashboard
:id,
:email,
:current_sign_in_at,
:created_at,
:created_at
].freeze
# FORM_ATTRIBUTES

View file

@ -47,7 +47,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
:libelle,
:organisation,
:dossiers,
:published_at,
:published_at
].freeze
# SHOW_PAGE_ATTRIBUTES
@ -77,7 +77,7 @@ class ProcedureDashboard < Administrate::BaseDashboard
:received_mail_template,
:closed_mail_template,
:refused_mail_template,
:without_continuation_mail_template,
:without_continuation_mail_template
].freeze
# FORM_ATTRIBUTES

View file

@ -29,7 +29,7 @@ class ServiceDashboard < Administrate::BaseDashboard
# Feel free to add, remove, or rearrange items.
COLLECTION_ATTRIBUTES = [
:nom,
:type_organisme,
:type_organisme
].freeze
# SHOW_PAGE_ATTRIBUTES
@ -46,7 +46,7 @@ class ServiceDashboard < Administrate::BaseDashboard
:telephone,
:horaires,
:adresse,
:siret,
:siret
].freeze
# FORM_ATTRIBUTES

View file

@ -24,7 +24,7 @@ class UserDashboard < Administrate::BaseDashboard
# Feel free to add, remove, or rearrange items.
COLLECTION_ATTRIBUTES = [
:email,
:created_at,
:created_at
].freeze
# SHOW_PAGE_ATTRIBUTES
@ -35,7 +35,7 @@ class UserDashboard < Administrate::BaseDashboard
:email,
:confirmed?,
:current_sign_in_at,
:created_at,
:created_at
].freeze
# FORM_ATTRIBUTES