chore: Update self-closing tag eslint config (#4826)

* chore: Fix self-closing tag issues

* Fix merge conflicts

Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com>
This commit is contained in:
Pranav Raj S 2022-06-10 19:29:52 +05:30 committed by GitHub
parent 3f3ee6c34a
commit 7bb8186e43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
86 changed files with 151 additions and 186 deletions

View file

@ -1,6 +1,6 @@
<template>
<div class="conversations-list-wrap">
<slot></slot>
<slot />
<div
class="chat-list__top"
:class="{ filter__applied: hasAppliedFiltersOrActiveFolders }"
@ -53,8 +53,7 @@
size="small"
class="btn-filter"
@click="onToggleAdvanceFiltersModal"
>
</woot-button>
/>
</div>
</div>
@ -102,7 +101,7 @@
/>
<div v-if="chatListLoading" class="text-center">
<span class="spinner"></span>
<span class="spinner" />
</div>
<woot-button

View file

@ -7,7 +7,7 @@
<p v-if="headerContent" class="small-12 column">
{{ headerContent }}
</p>
<slot></slot>
<slot />
</div>
</template>

View file

@ -20,8 +20,7 @@
color-scheme="warning"
icon="dismiss-circle"
@click="closeNotification"
>
</woot-button>
/>
</div>
</div>
</transition>

View file

@ -13,7 +13,7 @@
</p>
</div>
<div class="medium-6 small-12">
<slot></slot>
<slot />
</div>
</div>
</template>

View file

@ -7,7 +7,7 @@
:icon="icon"
/>
<spinner v-if="isLoading" />
<slot></slot>
<slot />
</button>
</template>

View file

@ -30,8 +30,7 @@
icon="dismiss-circle"
class-names="banner-action__button"
@click="onClickClose"
>
</woot-button>
/>
</div>
</template>

View file

@ -7,7 +7,7 @@
:aria-checked="value.toString()"
@click="onClick"
>
<span aria-hidden="true" :class="{ active: value }"></span>
<span aria-hidden="true" :class="{ active: value }" />
</button>
</template>

View file

@ -13,7 +13,7 @@
:icon="icon"
:icon-size="iconSize"
/>
<span v-if="$slots.default" class="button__content"><slot></slot></span>
<span v-if="$slots.default" class="button__content"><slot /></span>
</button>
</template>
<script>

View file

@ -77,7 +77,7 @@
rows="4"
:placeholder="$t('AUTOMATION.ACTION.TEAM_MESSAGE_INPUT_PLACEHOLDER')"
class="action-message"
></textarea>
/>
<p
v-if="v.action_params.$dirty && v.action_params.$error"
class="filter-error"

View file

@ -20,7 +20,7 @@
rows="4"
:placeholder="$t('AUTOMATION.ACTION.TEAM_MESSAGE_INPUT_PLACEHOLDER')"
@input="updateValue"
></textarea>
/>
</div>
</div>
</template>

View file

@ -6,7 +6,7 @@
<p v-if="headerContent" class="small-12 column">
{{ headerContent }}
</p>
<slot></slot>
<slot />
</div>
</template>

View file

@ -1,6 +1,6 @@
<template>
<div class="audio-wave-wrapper">
<audio id="audio-wave" class="video-js vjs-fill vjs-default-skin"></audio>
<audio id="audio-wave" class="video-js vjs-fill vjs-default-skin" />
</div>
</template>

View file

@ -10,7 +10,7 @@
:search-key="cannedSearchTerm"
@click="insertCannedResponse"
/>
<div ref="editor"></div>
<div ref="editor" />
</div>
</template>

View file

@ -32,8 +32,7 @@
class="sidebar-toggle--button"
:icon="isRightOrLeftIcon"
@click="onToggleContactPanel"
>
</woot-button>
/>
</div>
<ul class="conversation-panel">
<transition name="slide-up">

View file

@ -5,7 +5,7 @@
rows="4"
readonly
class="template-input"
></textarea>
/>
<div v-if="variables" class="template__variables-container">
<p class="variables-label">
{{ $t('WHATSAPP_TEMPLATES.PARSER.VARIABLES_LABEL') }}

View file

@ -6,7 +6,7 @@
'hide--quoted': !showQuotedContent,
}"
>
<div v-dompurify-html="message" class="text-content"></div>
<div v-dompurify-html="message" class="text-content" />
<button
v-if="displayQuotedButton"
class="quoted-text--button"

View file

@ -22,7 +22,7 @@
accept="image/png, image/jpeg, image/gif"
@change="handleImageUpload"
/>
<slot></slot>
<slot />
</label>
</div>
</template>

View file

@ -10,7 +10,7 @@
@input="onChange"
@blur="onBlur"
/>
<p v-if="helpText" class="help-text"></p>
<p v-if="helpText" class="help-text" />
<span v-if="error" class="message">
{{ error }}
</span>

View file

@ -1,7 +1,7 @@
<template>
<modal :show.sync="show" :on-close="cancel">
<div class="column content-box">
<woot-modal-header :header-title="title"> </woot-modal-header>
<woot-modal-header :header-title="title" />
<div class="row modal-content">
<div class="medium-12 columns">
<p>