Fix haml/js lints

This commit is contained in:
KMY 2023-08-11 11:47:57 +09:00
parent 69555645d9
commit 3c0bc6cb57
3 changed files with 3 additions and 2 deletions

View file

@ -23,6 +23,7 @@ linters:
ViewLength:
exclude:
- 'app/views/admin/accounts/show.html.haml'
- 'app/views/admin/instances/show.html.haml'
- 'app/views/admin/reports/show.html.haml'
- 'app/views/disputes/strikes/show.html.haml'

View file

@ -11,7 +11,7 @@ type ShortNumberRenderer = (
interface ShortNumberProps {
value: number;
isHide: boolean;
isHide?: boolean;
renderer?: ShortNumberRenderer;
children?: ShortNumberRenderer;
}

View file

@ -1,7 +1,7 @@
- content_for :page_title do
= @instance.domain
-if @instance.instance_info.present?
- if @instance.instance_info.present?
%p
= "#{@instance.instance_info.software} #{@instance.instance_info.version}"