diff --git a/.fallowrc.json b/.fallowrc.json index 21235b80..f2370b65 100644 --- a/.fallowrc.json +++ b/.fallowrc.json @@ -8,14 +8,6 @@ "scripts/create-test-files.ts", "scripts/patch-api-client.ts" ], - "ignorePatterns": [ - "node_modules/**", - ".output/**", - "**/api-client/**", - "**/components/ui/**", - "**/routeTree.gen.ts", - "apps/docs/**", - "app/client/hooks/use-mobile.ts", - "app/client/hooks/useMinimumDuration.ts" - ] + "ignorePatterns": ["node_modules/**", ".output/**", "**/api-client/**", "**/routeTree.gen.ts", "apps/docs/**"], + "ignoreDependencies": ["@tailwindcss/typography", "babel-plugin-react-compiler"] } diff --git a/app/client/components/ui/alert-dialog.tsx b/app/client/components/ui/alert-dialog.tsx index 4105ce33..6fad8945 100644 --- a/app/client/components/ui/alert-dialog.tsx +++ b/app/client/components/ui/alert-dialog.tsx @@ -1,3 +1,4 @@ +// fallow-ignore-file unused-export import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog"; import type * as React from "react"; import { buttonVariants } from "~/client/components/ui/button"; diff --git a/app/client/components/ui/badge.tsx b/app/client/components/ui/badge.tsx index e98a53b9..8e29fdb8 100644 --- a/app/client/components/ui/badge.tsx +++ b/app/client/components/ui/badge.tsx @@ -1,3 +1,4 @@ +// fallow-ignore-file unused-export import type * as React from "react"; import { Slot } from "@radix-ui/react-slot"; import { cva, type VariantProps } from "class-variance-authority"; diff --git a/app/client/components/ui/breadcrumb.tsx b/app/client/components/ui/breadcrumb.tsx index f838da10..ea0adada 100644 --- a/app/client/components/ui/breadcrumb.tsx +++ b/app/client/components/ui/breadcrumb.tsx @@ -1,3 +1,4 @@ +// fallow-ignore-file unused-export import type * as React from "react"; import { Slot } from "@radix-ui/react-slot"; import { ChevronRight, MoreHorizontal } from "lucide-react"; @@ -12,17 +13,16 @@ function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">) { return (
    ); } function BreadcrumbItem({ className, ...props }: React.ComponentProps<"li">) { - return
  1. ; + return ( +
  2. + ); } function BreadcrumbLink({ diff --git a/app/client/components/ui/card.tsx b/app/client/components/ui/card.tsx index c31a6971..efcf3b04 100644 --- a/app/client/components/ui/card.tsx +++ b/app/client/components/ui/card.tsx @@ -1,3 +1,4 @@ +// fallow-ignore-file unused-export import type * as React from "react"; import { cn } from "~/client/lib/utils"; diff --git a/app/client/components/ui/chart.tsx b/app/client/components/ui/chart.tsx index b23ceccb..a61112f8 100644 --- a/app/client/components/ui/chart.tsx +++ b/app/client/components/ui/chart.tsx @@ -1,3 +1,4 @@ +// fallow-ignore-file unused-export // @ts-nocheck // biome-ignore-all lint: reason import * as React from "react"; @@ -9,6 +10,7 @@ import { cn } from "~/client/lib/utils"; // Format: { THEME_NAME: CSS_SELECTOR } const THEMES = { light: "", dark: ".dark" } as const; +// fallow-ignore-next-line unused-type export type ChartConfig = { [k in string]: { label?: React.ReactNode; diff --git a/app/client/components/ui/dialog.tsx b/app/client/components/ui/dialog.tsx index 6fe0939c..9a87f640 100644 --- a/app/client/components/ui/dialog.tsx +++ b/app/client/components/ui/dialog.tsx @@ -1,3 +1,4 @@ +// fallow-ignore-file unused-export import type * as React from "react"; import * as DialogPrimitive from "@radix-ui/react-dialog"; import { XIcon } from "lucide-react"; diff --git a/app/client/components/ui/dropdown-menu.tsx b/app/client/components/ui/dropdown-menu.tsx index efe58ef4..0431b8f6 100644 --- a/app/client/components/ui/dropdown-menu.tsx +++ b/app/client/components/ui/dropdown-menu.tsx @@ -1,3 +1,4 @@ +// fallow-ignore-file unused-export import * as React from "react"; import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react"; import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu"; diff --git a/app/client/components/ui/form.tsx b/app/client/components/ui/form.tsx index 7bbeb265..cbf2772a 100644 --- a/app/client/components/ui/form.tsx +++ b/app/client/components/ui/form.tsx @@ -1,3 +1,4 @@ +// fallow-ignore-file unused-export import * as React from "react"; import type * as LabelPrimitive from "@radix-ui/react-label"; import { Slot } from "@radix-ui/react-slot"; diff --git a/app/client/components/ui/scroll-area.tsx b/app/client/components/ui/scroll-area.tsx index 7d37f99a..ae1d4a35 100644 --- a/app/client/components/ui/scroll-area.tsx +++ b/app/client/components/ui/scroll-area.tsx @@ -1,3 +1,4 @@ +// fallow-ignore-file unused-export import type * as React from "react"; import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area"; diff --git a/app/client/components/ui/secret-input.tsx b/app/client/components/ui/secret-input.tsx index 540f8f89..eb036adc 100644 --- a/app/client/components/ui/secret-input.tsx +++ b/app/client/components/ui/secret-input.tsx @@ -1,3 +1,4 @@ +// fallow-ignore-file unused-export import { Eye, EyeOff } from "lucide-react"; import type * as React from "react"; import { useMemo, useState } from "react"; @@ -14,7 +15,7 @@ export const isStoredSecretValue = (value?: string): boolean => { return value.startsWith("env://") || value.startsWith("file://") || value.startsWith("encv1:"); }; -type SecretInputProps = Omit, "type"> +type SecretInputProps = Omit, "type">; export const SecretInput = ({ className, value, ...props }: SecretInputProps) => { const [revealed, setRevealed] = useState(false); @@ -36,12 +37,7 @@ export const SecretInput = ({ className, value, ...props }: SecretInputProps) => return (
    - + {!showAsPlaintext && (