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