Control some lints

This commit is contained in:
Michael Ball 2021-03-24 13:54:20 -07:00
parent 676d16ef27
commit 617a4ad172
2 changed files with 6 additions and 7 deletions

View file

@ -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: