DEV: enforces ember-template-lint: no-unused-block-params (#9138)

This commit is contained in:
Joffrey JAFFEUX 2020-03-09 10:03:46 +01:00 committed by GitHub
parent b850953294
commit 8612bfb152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View File

@ -8,6 +8,7 @@ module.exports = {
"style-concatenation": true,
"no-invalid-interactive": true,
"link-rel-noopener": true,
"no-unnecessary-concat": true
"no-unnecessary-concat": true,
"no-unused-block-params": true
}
};

View File

@ -2,7 +2,7 @@
<thead>
<tr>
{{#if model.computedLabels}}
{{#each model.computedLabels as |label index|}}
{{#each model.computedLabels as |label|}}
{{admin-report-table-header
showSortingUI=showSortingUI
currentSortDirection=sortDirection

View File

@ -75,12 +75,12 @@
{{#user-summary-section title="top_links" class="links-section pull-left"}}
{{#if model.links.length}}
<ul>
{{!-- template-lint-disable --}}
{{#each model.links as |link|}}
<li>
{{!-- template-lint-disable --}}
<a class='domain'
href='{{unbound link.url}}'
title='{{unbound link.title}}'
href={{unbound link.url}}
title={{unbound link.title}}
rel='noopener {{unless user.removeNoFollow 'nofollow ugc'}}'
target='_blank'>
{{shorten-url link.url}}