DEV: Enable and fix the 'no-multiple-empty-lines' lint

This commit is contained in:
Kane York 2020-03-26 11:56:42 -07:00 committed by Kane York
parent f900efaa4a
commit 2afb95fe3e
13 changed files with 1 additions and 19 deletions

View File

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

View File

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

View File

@ -87,7 +87,6 @@
</nav>
</div>
{{#if error}}
<pre class='field-error'>{{error}}</pre>
{{/if}}

View File

@ -44,8 +44,6 @@
<span class="empty">{{i18n "admin.customize.theme.empty"}}</span>
</div>
{{/if}}
</div>
<div class="create-actions">

View File

@ -1,9 +1,6 @@
{{#if model.length}}
<h3>{{i18n "admin.plugins.installed"}}</h3>
<table class="admin-plugins grid">
<thead>
<tr>

View File

@ -29,7 +29,6 @@
<span class="btn {{unless uploading 'hidden'}}">{{i18n 'upload_selector.uploading'}} {{uploadProgress}}%</span>
</div>
{{#if imageUrl}}
<a class="lightbox"
href={{imageCDNURL}}

View File

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

View File

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

View File

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

View File

@ -54,7 +54,6 @@
</div>
{{/if}}
<div class="control-group home">
<label class="control-label">{{i18n 'user.home'}}</label>
<div class="controls">

View File

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

View File

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

View File

@ -87,7 +87,6 @@
{{/topic-title}}
{{/if}}
<div class="container posts">
<div class='selected-posts {{unless multiSelect 'hidden'}}'>
{{selected-posts