refs #3300 [lint] Fix styles

This commit is contained in:
AkiraFukushima 2022-08-12 22:21:32 +09:00
parent c597cbb27e
commit 9076649000
No known key found for this signature in database
GPG Key ID: B6E51BAC4DE1A957
5 changed files with 9 additions and 4 deletions

View File

@ -30,6 +30,7 @@ module.exports = {
argsIgnorePattern: '^_'
}
],
'@typescript-eslint/no-explicit-any': 'off',
camelcase: 'off',
'@typescript-eslint/camelcase': 'off',
'space-before-function-paren': 'off'

View File

@ -1,5 +1,5 @@
<template>
<div class="relationship" tabIndex="0" @click="$emit('select')" role="article" aria-label="follow event" ref="notificationRef">
<div ref="notificationRef" class="relationship" tabIndex="0" role="article" aria-label="follow event" @click="$emit('select')">
<div class="follow">
<div class="action">
<div class="action-mark">
@ -55,6 +55,7 @@ export default defineComponent({
default: false
}
},
emits: ['select'],
setup(props) {
const { focused } = toRefs(props)
const store = useStore()

View File

@ -1,5 +1,5 @@
<template>
<div class="relationship" tabIndex="0" @click="$emit('select')" role="article" aria-label="follow event" ref="notificationRef">
<div ref="notificationRef" class="relationship" tabIndex="0" role="article" aria-label="follow event" @click="$emit('select')">
<div class="follow-request">
<div class="action">
<div class="action-mark">
@ -55,6 +55,7 @@ export default defineComponent({
default: false
}
},
emits: ['select'],
setup(props) {
const { focused } = toRefs(props)
const store = useStore()

View File

@ -1,5 +1,5 @@
<template>
<div class="status" tabIndex="0" @click="$emit('select')" role="article" :aria-label="reactionType" ref="notificationRef">
<div ref="notificationRef" class="status" tabIndex="0" role="article" :aria-label="reactionType" @click="$emit('select')">
<div v-show="filtered" class="filtered">Filtered</div>
<div v-show="!filtered" class="status-reaction">
<div class="action">
@ -138,6 +138,7 @@ export default defineComponent({
default: false
}
},
emits: ['select'],
setup(props) {
const store = useStore()
const router = useRouter()

View File

@ -1,5 +1,5 @@
<template>
<div class="status" tabIndex="0" ref="statusRef" @click="$emit('selectToot', message)" role="article" aria-label="toot">
<div ref="statusRef" class="status" tabIndex="0" role="article" aria-label="toot" @click="$emit('selectToot', message)">
<div v-if="filtered" class="filtered">Filtered</div>
<div v-if="!filtered" class="toot">
<div class="reblogger" v-if="message.reblog && !message.quote">
@ -305,6 +305,7 @@ export default defineComponent({
default: false
}
},
emits: ['selectToot', 'focusRight', 'focusLeft'],
setup(props, ctx) {
const space = 'organisms/Toot'
const store = useStore()