Reduce override values in haml lint configuration

pull/33485/head
Matt Jankowski 2024-10-18 11:04:10 -04:00
parent fdfbf6e04e
commit df03a00aec
2 changed files with 11 additions and 4 deletions

View File

@ -10,6 +10,6 @@ linters:
MiddleDot:
enabled: true
LineLength:
max: 300
max: 256 # Override default of 80
ViewLength:
max: 200 # Override default value of 100 inherited from rubocop
max: 128 # Override default of 100

View File

@ -16,5 +16,12 @@
%hr.spacer/
.content__heading__actions
= link_to t('admin.terms_of_service.preview.send_preview', email: current_user.email), admin_terms_of_service_test_path(@terms_of_service), method: :post, class: 'button button-secondary'
= link_to t('admin.terms_of_service.preview.send_to_all', count: @user_count, display_count: number_with_delimiter(@user_count)), admin_terms_of_service_distribution_path(@terms_of_service), method: :post, class: 'button', data: { confirm: t('admin.reports.are_you_sure') }
= link_to t('admin.terms_of_service.preview.send_preview', email: current_user.email),
admin_terms_of_service_test_path(@terms_of_service),
class: 'button button-secondary',
method: :post
= link_to t('admin.terms_of_service.preview.send_to_all', count: @user_count, display_count: number_with_delimiter(@user_count)),
admin_terms_of_service_distribution_path(@terms_of_service),
class: 'button',
data: { confirm: t('admin.reports.are_you_sure') },
method: :post