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:
@@ -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()],
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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[]) {
|
||||
|
||||
Reference in New Issue
Block a user