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 2d9ee85bc..64d36307e 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 d35fa5863..d21a9cc58 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 a967d9f08..8b05ecc0b 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 f3397ceae..dc3f58e6a 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 439db8815..f36dc6151 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 b2b558b30..169fac70a 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 63fc57db7..98cf89874 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 e10b49644..8cf6ec1f6 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 df21fff43..a0b7f1c67 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 c0840f9d9..4844ad11f 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 2c4095ac4..da14e54f7 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) {