manual linting
This commit is contained in:
parent
69940b7561
commit
b7dcb6e97b
|
@ -112,7 +112,10 @@ export default {
|
||||||
components: { Popover, ConfirmModal, StillImage },
|
components: { Popover, ConfirmModal, StillImage },
|
||||||
inject: ['emojiAddr'],
|
inject: ['emojiAddr'],
|
||||||
props: {
|
props: {
|
||||||
placement: String,
|
placement: {
|
||||||
|
type: String,
|
||||||
|
required: true
|
||||||
|
},
|
||||||
disabled: {
|
disabled: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
|
@ -120,8 +123,14 @@ export default {
|
||||||
|
|
||||||
newUpload: Boolean,
|
newUpload: Boolean,
|
||||||
|
|
||||||
title: String,
|
title: {
|
||||||
packName: String,
|
type: String,
|
||||||
|
required: true
|
||||||
|
},
|
||||||
|
packName: {
|
||||||
|
type: String,
|
||||||
|
required: true
|
||||||
|
},
|
||||||
shortcode: {
|
shortcode: {
|
||||||
type: String,
|
type: String,
|
||||||
// Only exists when this is not a new upload
|
// Only exists when this is not a new upload
|
||||||
|
|
|
@ -16,10 +16,12 @@
|
||||||
@click="resetTheming"
|
@click="resetTheming"
|
||||||
>
|
>
|
||||||
<!-- eslint-disable vue/no-v-text-v-html-on-component -->
|
<!-- eslint-disable vue/no-v-text-v-html-on-component -->
|
||||||
|
<!-- eslint-disable vue/no-v-html -->
|
||||||
<component
|
<component
|
||||||
:is="'style'"
|
:is="'style'"
|
||||||
v-html="previewTheme('stock', 'v3')"
|
v-html="previewTheme('stock', 'v3')"
|
||||||
/>
|
/>
|
||||||
|
<!-- eslint-enable vue/no-v-html -->
|
||||||
<!-- eslint-enable vue/no-v-text-v-html-on-component -->
|
<!-- eslint-enable vue/no-v-text-v-html-on-component -->
|
||||||
<preview id="theme-preview-stock" />
|
<preview id="theme-preview-stock" />
|
||||||
<h4 class="theme-name">
|
<h4 class="theme-name">
|
||||||
|
@ -58,12 +60,14 @@
|
||||||
@click="style.version === 'v2' ? setTheme(style.key) : setStyle(style.key)"
|
@click="style.version === 'v2' ? setTheme(style.key) : setStyle(style.key)"
|
||||||
>
|
>
|
||||||
<!-- eslint-disable vue/no-v-text-v-html-on-component -->
|
<!-- eslint-disable vue/no-v-text-v-html-on-component -->
|
||||||
|
<!-- eslint-disable vue/no-v-html -->
|
||||||
<div v-if="style.ready || noIntersectionObserver">
|
<div v-if="style.ready || noIntersectionObserver">
|
||||||
<component
|
<component
|
||||||
:is="'style'"
|
:is="'style'"
|
||||||
v-html="previewTheme(style.key, style.version, style.data)"
|
v-html="previewTheme(style.key, style.version, style.data)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- eslint-enable vue/no-v-html -->
|
||||||
<!-- eslint-enable vue/no-v-text-v-html-on-component -->
|
<!-- eslint-enable vue/no-v-text-v-html-on-component -->
|
||||||
<preview :id="'theme-preview-' + style.key" />
|
<preview :id="'theme-preview-' + style.key" />
|
||||||
<h4 class="theme-name">
|
<h4 class="theme-name">
|
||||||
|
|
|
@ -7,10 +7,12 @@
|
||||||
<h2> {{ $t('settings.style.themes3.editor.title') }} </h2>
|
<h2> {{ $t('settings.style.themes3.editor.title') }} </h2>
|
||||||
<div class="meta-preview">
|
<div class="meta-preview">
|
||||||
<!-- eslint-disable vue/no-v-text-v-html-on-component -->
|
<!-- eslint-disable vue/no-v-text-v-html-on-component -->
|
||||||
|
<!-- eslint-disable vue/no-v-html -->
|
||||||
<component
|
<component
|
||||||
:is="'style'"
|
:is="'style'"
|
||||||
v-html="overallPreviewCssRules"
|
v-html="overallPreviewCssRules"
|
||||||
/>
|
/>
|
||||||
|
<!-- eslint-enable vue/no-v-html -->
|
||||||
<!-- eslint-enable vue/no-v-text-v-html-on-component -->
|
<!-- eslint-enable vue/no-v-text-v-html-on-component -->
|
||||||
<Preview id="edited-style-preview" />
|
<Preview id="edited-style-preview" />
|
||||||
<teleport
|
<teleport
|
||||||
|
|
Loading…
Reference in a new issue