DEV: enforces ember-template-lint: no-html-comments (#9183)

https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/rule/no-html-comments.md
This commit is contained in:
Joffrey JAFFEUX 2020-03-12 07:51:05 +01:00 committed by GitHub
parent 89a1b3a791
commit 11921c4868
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 14 deletions

View File

@ -13,6 +13,7 @@ module.exports = {
"no-unbound": true, "no-unbound": true,
"simple-unless": true, "simple-unless": true,
"no-triple-curlies": true, "no-triple-curlies": true,
"no-partial": true "no-partial": true,
"no-html-comments": true
} }
}; };

View File

@ -4,7 +4,7 @@
<pre class="badge-errors">{{errors}}</pre> <pre class="badge-errors">{{errors}}</pre>
<!-- {{!--
TODO we want some help pages for this, link to those instead TODO we want some help pages for this, link to those instead
<p> <p>
{{i18n "admin.badges.preview.error_help"}} {{i18n "admin.badges.preview.error_help"}}
@ -12,7 +12,7 @@
<ul> <ul>
<li><a href="https://meta.discourse.org/t/triggered-custom-badge-queries/19336">https://meta.discourse.org/t/triggered-custom-badge-queries/19336</a></li> <li><a href="https://meta.discourse.org/t/triggered-custom-badge-queries/19336">https://meta.discourse.org/t/triggered-custom-badge-queries/19336</a></li>
</ul> </ul>
--> --}}
{{else}} {{else}}
<p class="grant-count"> <p class="grant-count">

View File

@ -24,7 +24,7 @@
</div> </div>
</div> </div>
<!-- disable these super-advanced searches for now {{!-- disable these super-advanced searches for now
<div class="container"> <div class="container">
<div class="control-group pull-left"> <div class="control-group pull-left">
<label class="control-label" for="search-in-group">{{i18n "search.advanced.in_group.label"}}</label> <label class="control-label" for="search-in-group">{{i18n "search.advanced.in_group.label"}}</label>
@ -38,8 +38,7 @@
{{badge-selector badgeFinder=badgeFinder badgeNames=searchedTerms.badge single="true" canReceiveUpdates="true"}} {{badge-selector badgeFinder=badgeFinder badgeNames=searchedTerms.badge single="true" canReceiveUpdates="true"}}
</div> </div>
</div> </div>
</div> </div> --}}
-->
{{#if siteSettings.tagging_enabled}} {{#if siteSettings.tagging_enabled}}
<div class="container advanced-search-tag-group"> <div class="container advanced-search-tag-group">