chore: ⬆️ Upgrade Biome to v2

This commit is contained in:
Jesse Wierzbinski 2025-06-26 22:39:02 +02:00
parent 00b6783ae0
commit 9b55759220
No known key found for this signature in database
155 changed files with 311 additions and 293 deletions

View file

@ -14,10 +14,10 @@
</template>
<script lang="tsx" setup>
import { cn } from "@/lib/utils";
import { Check, Clipboard } from "lucide-vue-next";
import type { HTMLAttributes } from "vue";
import { toast } from "vue-sonner";
import { cn } from "@/lib/utils";
import * as m from "~/paraglide/messages.js";
const { text } = defineProps<{

View file

@ -43,7 +43,6 @@
</template>
<script lang="ts" setup>
import { cn } from "@/lib/utils";
import type { Account, Status } from "@versia/client/schemas";
import type {
UseTimeAgoMessages,
@ -51,6 +50,7 @@ import type {
} from "@vueuse/core";
import { AtSign, Globe, Lock, LockOpen } from "lucide-vue-next";
import type { z } from "zod";
import { cn } from "@/lib/utils";
import { getLocale } from "~/paraglide/runtime";
import Avatar from "../profiles/avatar.vue";
import SmallCard from "../profiles/small-card.vue";

View file

@ -1,12 +1,4 @@
<script setup lang="tsx">
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuGroup,
DropdownMenuItem,
DropdownMenuSeparator,
DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu";
import {
Ban,
Code,
@ -19,6 +11,14 @@ import {
Trash,
} from "lucide-vue-next";
import { toast } from "vue-sonner";
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuGroup,
DropdownMenuItem,
DropdownMenuSeparator,
DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu";
import { confirmModalService } from "~/components/modals/composable.ts";
import * as m from "~/paraglide/messages.js";

View file

@ -75,9 +75,9 @@
</template>
<script setup lang="ts">
import { cn } from "@/lib/utils";
import type { Status } from "@versia/client/schemas";
import type { z } from "zod";
import { cn } from "@/lib/utils";
import { Card, CardContent, CardFooter, CardHeader } from "../ui/card";
import Actions from "./actions.vue";
import Content from "./content.vue";

View file

@ -43,7 +43,7 @@ import {
} from "~/components/ui/popover";
import CategoryHeader from "./category-header.vue";
import EmojiDisplay from "./display.vue";
import { type EmojiGroupId, type UnicodeEmoji, emojiGroups } from "./emoji.ts";
import { type EmojiGroupId, emojiGroups, type UnicodeEmoji } from "./emoji.ts";
import Emoji from "./emoji.vue";
import Sidebar from "./sidebar.vue";
import { EMOJI_PER_ROW, getVirtualizedItems } from "./virtual.ts";

View file

@ -2,7 +2,7 @@ import type { CustomEmoji } from "@versia/client/schemas";
import { go } from "fuzzysort";
import { nanoid } from "nanoid";
import type { z } from "zod";
import { type UnicodeEmoji, emojiGroups } from "./emoji";
import { emojiGroups, type UnicodeEmoji } from "./emoji";
export const EMOJI_PER_ROW = 7;
export type VirtualizedItem =