mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06:00
DEV: Enable and fix link-href-attributes lint
This commit is contained in:
parent
af41c37d42
commit
a17fa222af
@ -5,6 +5,7 @@ module.exports = {
|
||||
rules: {
|
||||
"deprecated-render-helper": true,
|
||||
"link-rel-noopener": true,
|
||||
"link-href-attributes": true,
|
||||
"no-abstract-roles": true,
|
||||
"no-args-paths": true,
|
||||
"no-attrs-in-components": true,
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
<div class="body">
|
||||
{{textarea value=shareUrl class="topic-share-url"}}
|
||||
<div class="topic-share-url-for-touch"><a></a></div>
|
||||
<div class="topic-share-url-for-touch"><a href>{{! set by component }}</a></div>
|
||||
|
||||
<div class="sources">
|
||||
{{#each sources as |source|}}
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
<div>
|
||||
<input type="text">
|
||||
<div class="share-for-touch"><div class="overflow-ellipsis"><a></a></div></div>
|
||||
<div class="share-for-touch"><div class="overflow-ellipsis"><a href>{{! set by component }}</a></div></div>
|
||||
</div>
|
||||
|
||||
<div class="actions">
|
||||
|
@ -191,7 +191,7 @@
|
||||
|
||||
{{#if site.mobileView}}
|
||||
{{#if allowUpload}}
|
||||
<a class="btn btn-default no-text mobile-file-upload {{if isUploading 'hidden'}}">
|
||||
<a href class="btn btn-default no-text mobile-file-upload {{if isUploading 'hidden'}}">
|
||||
{{d-icon uploadIcon}}
|
||||
</a>
|
||||
{{/if}}
|
||||
@ -213,7 +213,7 @@
|
||||
{{else}}
|
||||
<div class='saving-text'>
|
||||
{{#if model.createdPost}}
|
||||
{{i18n 'composer.saved'}} <a class='permalink' href={{createdPost.url}} {{action "viewNewReply"}}>{{i18n 'composer.view_new_post'}}</a>
|
||||
{{i18n 'composer.saved'}} <a href class='permalink' href={{createdPost.url}} {{action "viewNewReply"}}>{{i18n 'composer.view_new_post'}}</a>
|
||||
{{else}}
|
||||
{{i18n 'composer.saving'}} {{loading-spinner size="small"}}
|
||||
{{/if}}
|
||||
|
Loading…
Reference in New Issue
Block a user