From 496fd40fa3daf679ad1f5673cd31038c4d3355c0 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sat, 20 Jul 2024 13:52:38 -0600 Subject: [PATCH] refactor: update husky --- .../settings/notifications/delete-notification.tsx | 2 +- .../settings/notifications/show-notifications.tsx | 10 +++++----- package.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/components/dashboard/settings/notifications/delete-notification.tsx b/components/dashboard/settings/notifications/delete-notification.tsx index 0a3db329..468db851 100644 --- a/components/dashboard/settings/notifications/delete-notification.tsx +++ b/components/dashboard/settings/notifications/delete-notification.tsx @@ -1,4 +1,3 @@ -import React from "react"; import { AlertDialog, AlertDialogAction, @@ -13,6 +12,7 @@ import { import { Button } from "@/components/ui/button"; import { api } from "@/utils/api"; import { TrashIcon } from "lucide-react"; +import React from "react"; import { toast } from "sonner"; interface Props { diff --git a/components/dashboard/settings/notifications/show-notifications.tsx b/components/dashboard/settings/notifications/show-notifications.tsx index 6bafbcc5..46fa5e8b 100644 --- a/components/dashboard/settings/notifications/show-notifications.tsx +++ b/components/dashboard/settings/notifications/show-notifications.tsx @@ -1,3 +1,8 @@ +import { + DiscordIcon, + SlackIcon, + TelegramIcon, +} from "@/components/icons/notification-icons"; import { Card, CardContent, @@ -9,11 +14,6 @@ import { api } from "@/utils/api"; import { BellRing, Mail } from "lucide-react"; import { AddNotification } from "./add-notification"; import { DeleteNotification } from "./delete-notification"; -import { - DiscordIcon, - SlackIcon, - TelegramIcon, -} from "@/components/icons/notification-icons"; import { UpdateNotification } from "./update-notification"; export const ShowNotifications = () => { diff --git a/package.json b/package.json index e913020b..a3d03cd3 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "db:push": "drizzle-kit --config ./server/db/drizzle.config.ts", "db:truncate": "tsx -r dotenv/config ./server/db/reset.ts", "db:studio": "drizzle-kit studio --config ./server/db/drizzle.config.ts", - "check": "biome check", + "check": "biome check --write --no-errors-on-unmatched --files-ignore-unknown=true", "format": "biome format --write", "lint": "biome lint", "typecheck": "tsc",