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/edit.html.haml"
|
||||||
- "app/views/users/show.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
|
# Offense count: 24
|
||||||
ConsecutiveSilentScripts:
|
ConsecutiveSilentScripts:
|
||||||
exclude:
|
exclude:
|
||||||
|
|
@ -605,11 +610,6 @@ linters:
|
||||||
- "app/views/admin/registrations/index.csv.haml"
|
- "app/views/admin/registrations/index.csv.haml"
|
||||||
- "app/views/layouts/_admin.html.haml"
|
- "app/views/layouts/_admin.html.haml"
|
||||||
|
|
||||||
# Offense count: 1
|
|
||||||
ImplicitDiv:
|
|
||||||
exclude:
|
|
||||||
- "app/views/admin/registrations/index.html.haml"
|
|
||||||
|
|
||||||
# Offense count: 9
|
# Offense count: 9
|
||||||
MultilinePipe:
|
MultilinePipe:
|
||||||
exclude:
|
exclude:
|
||||||
|
|
@ -637,7 +637,6 @@ linters:
|
||||||
- "app/views/devise/passwords/new.html.haml"
|
- "app/views/devise/passwords/new.html.haml"
|
||||||
- "app/views/payments/new.html.haml"
|
- "app/views/payments/new.html.haml"
|
||||||
|
|
||||||
|
|
||||||
# Offense count: 13
|
# Offense count: 13
|
||||||
ViewLength:
|
ViewLength:
|
||||||
exclude:
|
exclude:
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
combined_data: @registration_distribution
|
combined_data: @registration_distribution
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
%div.margin-event-table
|
.margin-event-table
|
||||||
%table.datatable#registrations{ data: { source: admin_conference_registrations_path(conference_id: @conference, format: :json) } }
|
%table.datatable#registrations{ data: { source: admin_conference_registrations_path(conference_id: @conference, format: :json) } }
|
||||||
%thead
|
%thead
|
||||||
%tr
|
%tr
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue