DEV: Enable and fix the 'no-multiple-empty-lines' lint
This commit is contained in:
parent
f900efaa4a
commit
2afb95fe3e
|
@ -30,7 +30,7 @@ module.exports = {
|
|||
"no-log": true,
|
||||
"no-negated-condition": true,
|
||||
"no-nested-interactive": true,
|
||||
"no-multiple-empty-lines": false,
|
||||
"no-multiple-empty-lines": true,
|
||||
"no-obsolete-elements": true,
|
||||
"no-outlet-outside-routes": true,
|
||||
"no-partial": true,
|
||||
|
|
|
@ -29,11 +29,9 @@
|
|||
{{/if}}
|
||||
{{nav-item route='adminPlugins' label='admin.plugins.title'}}
|
||||
{{plugin-outlet name="admin-menu" connectorTagName="" tagName=""}}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class='boxed white admin-content'>
|
||||
<div class='admin-contents {{adminContentsClassName}}'>
|
||||
{{outlet}}
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
</nav>
|
||||
</div>
|
||||
|
||||
|
||||
{{#if error}}
|
||||
<pre class='field-error'>{{error}}</pre>
|
||||
{{/if}}
|
||||
|
|
|
@ -44,8 +44,6 @@
|
|||
<span class="empty">{{i18n "admin.customize.theme.empty"}}</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="create-actions">
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
{{#if model.length}}
|
||||
|
||||
|
||||
<h3>{{i18n "admin.plugins.installed"}}</h3>
|
||||
|
||||
|
||||
<table class="admin-plugins grid">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
<span class="btn {{unless uploading 'hidden'}}">{{i18n 'upload_selector.uploading'}} {{uploadProgress}}%</span>
|
||||
</div>
|
||||
|
||||
|
||||
{{#if imageUrl}}
|
||||
<a class="lightbox"
|
||||
href={{imageCDNURL}}
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{d-button action="close" class="btn btn-flat close" icon="times" aria-label="share.close" title="share.close"}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -165,7 +165,6 @@
|
|||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{#if canCheckEmails}}
|
||||
<div class="control-group pref-auth-tokens">
|
||||
<label class="control-label">{{i18n 'user.auth_tokens.title'}}</label>
|
||||
|
@ -218,7 +217,6 @@
|
|||
{{save-controls model=model action=(action "save") saved=saved}}
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{#if model.canDeleteAccount}}
|
||||
<div class="control-group delete-account">
|
||||
<br>
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
</div>
|
||||
<div class="instructions">{{i18n 'user.watched_categories_instructions'}}</div>
|
||||
|
||||
|
||||
<div class="controls tracking-controls">
|
||||
<label>{{d-icon "d-tracking"}} {{i18n 'user.tracked_categories'}}</label>
|
||||
{{#if canSee}}
|
||||
|
@ -28,7 +27,6 @@
|
|||
</div>
|
||||
<div class="instructions">{{i18n 'user.tracked_categories_instructions'}}</div>
|
||||
|
||||
|
||||
<div class="controls tracking-controls">
|
||||
<label>{{d-icon "d-watching-first"}} {{i18n 'user.watched_first_post_categories'}}</label>
|
||||
{{category-selector
|
||||
|
|
|
@ -54,7 +54,6 @@
|
|||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
<div class="control-group home">
|
||||
<label class="control-label">{{i18n 'user.home'}}</label>
|
||||
<div class="controls">
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{plugin-outlet name="user-preferences-profile" args=(hash model=model save=(action "save"))}}
|
||||
|
||||
{{plugin-outlet name="user-custom-preferences" args=(hash model=model)}}
|
||||
|
|
|
@ -27,5 +27,4 @@
|
|||
|
||||
{{plugin-outlet name="user-custom-controls" args=(hash model=model)}}
|
||||
|
||||
|
||||
{{#save-controls model=model action=(action "save") saved=saved}}{{/save-controls}}
|
||||
|
|
|
@ -87,7 +87,6 @@
|
|||
{{/topic-title}}
|
||||
{{/if}}
|
||||
|
||||
|
||||
<div class="container posts">
|
||||
<div class='selected-posts {{unless multiSelect 'hidden'}}'>
|
||||
{{selected-posts
|
||||
|
|
Loading…
Reference in New Issue