Control some lints
This commit is contained in:
parent
676d16ef27
commit
617a4ad172
2 changed files with 6 additions and 7 deletions
|
|
@ -248,6 +248,11 @@ linters:
|
|||
- "app/views/users/edit.html.haml"
|
||||
- "app/views/users/show.html.haml"
|
||||
|
||||
ConsecutiveComments:
|
||||
exclude:
|
||||
# This one seems like a bug in haml-lint.
|
||||
- "app/views/admin/conferences/show.html.haml"
|
||||
|
||||
# Offense count: 24
|
||||
ConsecutiveSilentScripts:
|
||||
exclude:
|
||||
|
|
@ -605,11 +610,6 @@ linters:
|
|||
- "app/views/admin/registrations/index.csv.haml"
|
||||
- "app/views/layouts/_admin.html.haml"
|
||||
|
||||
# Offense count: 1
|
||||
ImplicitDiv:
|
||||
exclude:
|
||||
- "app/views/admin/registrations/index.html.haml"
|
||||
|
||||
# Offense count: 9
|
||||
MultilinePipe:
|
||||
exclude:
|
||||
|
|
@ -637,7 +637,6 @@ linters:
|
|||
- "app/views/devise/passwords/new.html.haml"
|
||||
- "app/views/payments/new.html.haml"
|
||||
|
||||
|
||||
# Offense count: 13
|
||||
ViewLength:
|
||||
exclude:
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
combined_data: @registration_distribution
|
||||
.row
|
||||
.col-md-12
|
||||
%div.margin-event-table
|
||||
.margin-event-table
|
||||
%table.datatable#registrations{ data: { source: admin_conference_registrations_path(conference_id: @conference, format: :json) } }
|
||||
%thead
|
||||
%tr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue