Content-Length: 294908 | pFad | http://github.com/mastodon/mastodon/pull/33485/files

93 Reduce overridden values in `haml-lint` configuration by mjankowski · Pull Request #33485 · mastodon/mastodon · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce overridden values in haml-lint configuration #33485

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .haml-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
11 changes: 9 additions & 2 deletions app/views/admin/terms_of_service/previews/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/mastodon/mastodon/pull/33485/files

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy