mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 00:47:46 -06:00
DEV: enforces ember-template-lint: no-unused-block-params (#9138)
This commit is contained in:
parent
b850953294
commit
8612bfb152
@ -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
|
||||
}
|
||||
};
|
||||
|
@ -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
|
||||
|
@ -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}}
|
||||
|
Loading…
Reference in New Issue
Block a user