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 parent
cbae9fa1c9
commit
a0a7e021a8
33 files changed
+173
-156
No files matched your search
@@ -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";
|
||||
|
||||
+3
-3
@@ -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
-1
@@ -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