style: standardize import ordering, type imports, and formatting in source files

Sort imports alphabetically, convert value imports to type-only where
appropriate, normalize indentation to tabs, and sort exports
alphabetically across UI components, pages, and lib modules.
This commit is contained in:
2026-04-07 13:10:49 -04:00
parent cbae9fa1c9
commit a0a7e021a8
33 changed files with 173 additions and 156 deletions

View File

@@ -1,5 +1,5 @@
import { createAuthClient } from "better-auth/react";
import { genericOAuthClient } from "better-auth/client/plugins";
import { createAuthClient } from "better-auth/react";
export const authClient = createAuthClient({
plugins: [genericOAuthClient()],

View File

@@ -1,4 +1,4 @@
import { openDB, type IDBPDatabase } from "idb";
import { type IDBPDatabase, openDB } from "idb";
import type { CalendarEvent } from "@/lib/types";
const DB_NAME = "LocalCalEvents";

View File

@@ -1,12 +1,12 @@
import ICAL from "ical.js";
import type { CalendarEvent } from "@/lib/types";
import {
isRecur,
isTime,
isUtcOffset,
isBinary,
isDuration,
isPeriod,
isRecur,
isTime,
isUtcOffset,
} from "./ical-helpers";
function safeValueToString(

View File

@@ -1,4 +1,4 @@
import { clsx, type ClassValue } from "clsx";
import { type ClassValue, clsx } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {