DEV: Enable and fix link-href-attributes lint

This commit is contained in:
Kane York 2020-03-26 11:17:31 -07:00 committed by Kane York
parent af41c37d42
commit a17fa222af
4 changed files with 5 additions and 4 deletions

View File

@ -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,

View File

@ -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|}}

View File

@ -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">

View File

@ -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}}