Update eslint configuration comments
This commit is contained in:
parent
6a3c7bd15f
commit
cef684c141
7 changed files with 12 additions and 16 deletions
|
@ -15,16 +15,17 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
/* eslint-disable no-undef */
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
import { watch } from "vue"
|
||||
|
||||
import { PAGE_SIZE } from "@/api/common"
|
||||
import { Post as PostObject } from "@/api/posts"
|
||||
import PostOrRepost from "@/components/PostOrRepost.vue"
|
||||
|
||||
/* eslint-disable-next-line no-undef */
|
||||
const props = defineProps<{
|
||||
posts: PostObject[],
|
||||
}>()
|
||||
/* eslint-disable-next-line no-undef */
|
||||
const emit = defineEmits<{(event: "load-next-page", maxId: string): void}>()
|
||||
|
||||
let initialPostCount: number | null = null
|
||||
|
|
|
@ -16,15 +16,14 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
/* eslint-disable no-undef */
|
||||
/* eslint-disable no-unused-vars */
|
||||
import type { Post as PostObject } from "@/api/posts"
|
||||
import Post from "@/components/Post.vue"
|
||||
|
||||
const props = defineProps<{
|
||||
/* eslint-disable-next-line no-undef */
|
||||
defineProps<{
|
||||
post: PostObject,
|
||||
}>()
|
||||
|
||||
/* eslint-disable-next-line no-undef */
|
||||
const emit = defineEmits<{(event: "post-deleted", postId: string): void}>()
|
||||
|
||||
function onPostDeleted(postId: string) {
|
||||
|
|
|
@ -9,15 +9,14 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
/* eslint-disable no-undef */
|
||||
/* eslint-disable no-unused-vars */
|
||||
import { Profile } from "@/api/users"
|
||||
import Avatar from "@/components/Avatar.vue"
|
||||
import { useInstanceInfo } from "@/store/instance"
|
||||
|
||||
const { getActorAddress } = useInstanceInfo()
|
||||
|
||||
const props = defineProps<{
|
||||
/* eslint-disable-next-line no-undef */
|
||||
defineProps<{
|
||||
profile: Profile,
|
||||
}>()
|
||||
</script>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
/* eslint-disable no-undef */
|
||||
/* eslint-disable-next-line no-undef */
|
||||
defineProps<{
|
||||
visibility: string,
|
||||
}>()
|
||||
|
|
|
@ -81,8 +81,8 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
/* eslint-disable no-unused-vars */
|
||||
import { ref, onMounted } from "vue"
|
||||
import { onMounted } from "vue"
|
||||
|
||||
import { PAGE_SIZE } from "@/api/common"
|
||||
import { updateNotificationMarker } from "@/api/markers"
|
||||
import { getNotifications, Notification } from "@/api/notifications"
|
||||
|
|
|
@ -53,9 +53,7 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
/* eslint-disable no-unused-vars */
|
||||
/* eslint-disable no-undef */
|
||||
import { ref, onMounted } from "vue"
|
||||
import { onMounted } from "vue"
|
||||
import { $, $ref } from "vue/macros"
|
||||
import { useRoute } from "vue-router"
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
import { ref, onMounted } from "vue"
|
||||
import { useRoute } from "vue-router"
|
||||
|
||||
|
|
Loading…
Reference in a new issue