Fix Layout/SpaceInsideArrayLiteralBrackets lint (#368)
This commit is contained in:
parent
8095c8fc4d
commit
808655e2f3
2 changed files with 1 additions and 11 deletions
|
|
@ -6,15 +6,6 @@
|
|||
# Note that changes in the inspected code, or installation of new
|
||||
# versions of RuboCop, may require this file to be generated again.
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
|
||||
# SupportedStyles: space, no_space, compact
|
||||
# SupportedStylesForEmptyBrackets: space, no_space
|
||||
Layout/SpaceInsideArrayLiteralBrackets:
|
||||
Exclude:
|
||||
- 'app/dashboards/email_message_dashboard.rb'
|
||||
|
||||
# Offense count: 3
|
||||
Lint/AmbiguousBlockAssociation:
|
||||
Exclude:
|
||||
|
|
|
|||
|
|
@ -61,8 +61,7 @@ class EmailMessageDashboard < Administrate::BaseDashboard
|
|||
# FORM_ATTRIBUTES
|
||||
# an array of attributes that will be displayed
|
||||
# on the model's form (`new` and `edit`) pages.
|
||||
FORM_ATTRIBUTES = [
|
||||
].freeze
|
||||
FORM_ATTRIBUTES = [].freeze
|
||||
|
||||
# Overwrite this method to customize how messages are displayed
|
||||
# across all pages of the admin dashboard.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue