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 Enabled: false
Style/TrailingCommaInArrayLiteral: Style/TrailingCommaInArrayLiteral:
Enabled: false Enabled: true
Style/TrailingCommaInHashLiteral: Style/TrailingCommaInHashLiteral:
Enabled: true Enabled: true

View file

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

View file

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

View file

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

View file

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

View file

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