From a1200ad886a6643914dde091a568ca9413584f3d Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 29 May 2023 17:24:46 +0900 Subject: [PATCH] lint --- packages/frontend/src/pages/user/index.activity.vue | 2 +- packages/frontend/src/ui/deck/antenna-column.vue | 6 +----- packages/frontend/src/ui/deck/channel-column.vue | 6 +----- packages/frontend/src/ui/deck/direct-column.vue | 3 --- packages/frontend/src/ui/deck/list-column.vue | 6 +----- packages/frontend/src/ui/deck/main-column.vue | 3 --- packages/frontend/src/ui/deck/mentions-column.vue | 3 --- packages/frontend/src/ui/deck/notifications-column.vue | 3 --- packages/frontend/src/ui/deck/role-timeline-column.vue | 6 +----- packages/frontend/src/ui/deck/tl-column.vue | 6 +----- packages/frontend/src/ui/deck/widgets-column.vue | 3 --- 11 files changed, 6 insertions(+), 41 deletions(-) diff --git a/packages/frontend/src/pages/user/index.activity.vue b/packages/frontend/src/pages/user/index.activity.vue index 2d9ee85bc4..64d36307e9 100644 --- a/packages/frontend/src/pages/user/index.activity.vue +++ b/packages/frontend/src/pages/user/index.activity.vue @@ -9,7 +9,7 @@
- +
diff --git a/packages/frontend/src/ui/deck/antenna-column.vue b/packages/frontend/src/ui/deck/antenna-column.vue index d35fa58638..d21a9cc580 100644 --- a/packages/frontend/src/ui/deck/antenna-column.vue +++ b/packages/frontend/src/ui/deck/antenna-column.vue @@ -4,7 +4,7 @@ {{ column.name }} - + @@ -21,10 +21,6 @@ const props = defineProps<{ isStacked: boolean; }>(); -const emit = defineEmits<{ - (ev: 'loaded'): void; -}>(); - let timeline = $shallowRef>(); onMounted(() => { diff --git a/packages/frontend/src/ui/deck/channel-column.vue b/packages/frontend/src/ui/deck/channel-column.vue index a967d9f08e..8b05ecc0bb 100644 --- a/packages/frontend/src/ui/deck/channel-column.vue +++ b/packages/frontend/src/ui/deck/channel-column.vue @@ -8,7 +8,7 @@
- + @@ -27,10 +27,6 @@ const props = defineProps<{ isStacked: boolean; }>(); -const emit = defineEmits<{ - (ev: 'loaded'): void; -}>(); - let timeline = $shallowRef>(); let channel = $shallowRef(); diff --git a/packages/frontend/src/ui/deck/direct-column.vue b/packages/frontend/src/ui/deck/direct-column.vue index f3397ceae6..dc3f58e6a4 100644 --- a/packages/frontend/src/ui/deck/direct-column.vue +++ b/packages/frontend/src/ui/deck/direct-column.vue @@ -17,9 +17,6 @@ defineProps<{ isStacked: boolean; }>(); -const emit = defineEmits<{ -}>(); - const pagination = { endpoint: 'notes/mentions' as const, limit: 10, diff --git a/packages/frontend/src/ui/deck/list-column.vue b/packages/frontend/src/ui/deck/list-column.vue index 439db8815a..f36dc6151c 100644 --- a/packages/frontend/src/ui/deck/list-column.vue +++ b/packages/frontend/src/ui/deck/list-column.vue @@ -4,7 +4,7 @@ {{ column.name }} - + @@ -21,10 +21,6 @@ const props = defineProps<{ isStacked: boolean; }>(); -const emit = defineEmits<{ - (ev: 'loaded'): void; -}>(); - let timeline = $shallowRef>(); if (props.column.listId == null) { diff --git a/packages/frontend/src/ui/deck/main-column.vue b/packages/frontend/src/ui/deck/main-column.vue index b2b558b308..169fac70a2 100644 --- a/packages/frontend/src/ui/deck/main-column.vue +++ b/packages/frontend/src/ui/deck/main-column.vue @@ -25,9 +25,6 @@ defineProps<{ isStacked: boolean; }>(); -const emit = defineEmits<{ -}>(); - let pageMetadata = $ref>(); provide('router', mainRouter); diff --git a/packages/frontend/src/ui/deck/mentions-column.vue b/packages/frontend/src/ui/deck/mentions-column.vue index 63fc57db74..98cf898749 100644 --- a/packages/frontend/src/ui/deck/mentions-column.vue +++ b/packages/frontend/src/ui/deck/mentions-column.vue @@ -17,9 +17,6 @@ defineProps<{ isStacked: boolean; }>(); -const emit = defineEmits<{ -}>(); - const pagination = { endpoint: 'notes/mentions' as const, limit: 10, diff --git a/packages/frontend/src/ui/deck/notifications-column.vue b/packages/frontend/src/ui/deck/notifications-column.vue index e10b496447..8cf6ec1f65 100644 --- a/packages/frontend/src/ui/deck/notifications-column.vue +++ b/packages/frontend/src/ui/deck/notifications-column.vue @@ -19,9 +19,6 @@ const props = defineProps<{ isStacked: boolean; }>(); -const emit = defineEmits<{ -}>(); - function func() { os.popup(defineAsyncComponent(() => import('@/components/MkNotificationSettingWindow.vue')), { includingTypes: props.column.includingTypes, diff --git a/packages/frontend/src/ui/deck/role-timeline-column.vue b/packages/frontend/src/ui/deck/role-timeline-column.vue index df21fff431..a0b7f1c675 100644 --- a/packages/frontend/src/ui/deck/role-timeline-column.vue +++ b/packages/frontend/src/ui/deck/role-timeline-column.vue @@ -4,7 +4,7 @@ {{ column.name }} - + @@ -21,10 +21,6 @@ const props = defineProps<{ isStacked: boolean; }>(); -const emit = defineEmits<{ - (ev: 'loaded'): void; -}>(); - let timeline = $shallowRef>(); onMounted(() => { diff --git a/packages/frontend/src/ui/deck/tl-column.vue b/packages/frontend/src/ui/deck/tl-column.vue index c0840f9d98..4844ad11ff 100644 --- a/packages/frontend/src/ui/deck/tl-column.vue +++ b/packages/frontend/src/ui/deck/tl-column.vue @@ -15,7 +15,7 @@

{{ i18n.ts._disabledTimeline.description }}

- + @@ -34,10 +34,6 @@ const props = defineProps<{ isStacked: boolean; }>(); -const emit = defineEmits<{ - (ev: 'loaded'): void; -}>(); - let disabled = $ref(false); const isLocalTimelineAvailable = (($i == null && instance.policies.ltlAvailable) || ($i != null && $i.policies.ltlAvailable)); diff --git a/packages/frontend/src/ui/deck/widgets-column.vue b/packages/frontend/src/ui/deck/widgets-column.vue index 2c4095ac4e..da14e54f74 100644 --- a/packages/frontend/src/ui/deck/widgets-column.vue +++ b/packages/frontend/src/ui/deck/widgets-column.vue @@ -21,9 +21,6 @@ const props = defineProps<{ isStacked: boolean; }>(); -const emit = defineEmits<{ -}>(); - let edit = $ref(false); function addWidget(widget) {