commit: b7dcb6e97b55869399f3ff23c18dd0fca71e00d0 parent 69940b7561ce2ddbbfe5393c62a0c79d67c6c64f Author: Henry Jameson <me@hjkos.com> Date: Sun, 22 Dec 2024 15:12:06 +0200 manual lintingDiffstat:
3 files changed, 18 insertions(+), 3 deletions(-)diff --git a/src/components/settings_modal/helpers/emoji_editing_popover.vue b/src/components/settings_modal/helpers/emoji_editing_popover.vue@@ -112,7 +112,10 @@ export default { components: { Popover, ConfirmModal, StillImage }, inject: ['emojiAddr'], props: { - placement: String, + placement: { + type: String, + required: true + }, disabled: { type: Boolean, default: false @@ -120,8 +123,14 @@ export default { newUpload: Boolean, - title: String, - packName: String, + title: { + type: String, + required: true + }, + packName: { + type: String, + required: true + }, shortcode: { type: String, // Only exists when this is not a new uploaddiff --git a/src/components/settings_modal/tabs/appearance_tab.vue b/src/components/settings_modal/tabs/appearance_tab.vue@@ -16,10 +16,12 @@ @click="resetTheming" > <!-- eslint-disable vue/no-v-text-v-html-on-component --> + <!-- eslint-disable vue/no-v-html --> <component :is="'style'" v-html="previewTheme('stock', 'v3')" /> + <!-- eslint-enable vue/no-v-html --> <!-- eslint-enable vue/no-v-text-v-html-on-component --> <preview id="theme-preview-stock" /> <h4 class="theme-name"> @@ -58,12 +60,14 @@ @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-html --> <div v-if="style.ready || noIntersectionObserver"> <component :is="'style'" v-html="previewTheme(style.key, style.version, style.data)" /> </div> + <!-- eslint-enable vue/no-v-html --> <!-- eslint-enable vue/no-v-text-v-html-on-component --> <preview :id="'theme-preview-' + style.key" /> <h4 class="theme-name">diff --git a/src/components/settings_modal/tabs/style_tab/style_tab.vue b/src/components/settings_modal/tabs/style_tab/style_tab.vue@@ -7,10 +7,12 @@ <h2> {{ $t('settings.style.themes3.editor.title') }} </h2> <div class="meta-preview"> <!-- eslint-disable vue/no-v-text-v-html-on-component --> + <!-- eslint-disable vue/no-v-html --> <component :is="'style'" v-html="overallPreviewCssRules" /> + <!-- eslint-enable vue/no-v-html --> <!-- eslint-enable vue/no-v-text-v-html-on-component --> <Preview id="edited-style-preview" /> <teleport