Check each one before you remove it
Knip finds these from the entry points Agnes works out for the repository. Code loaded by name, by a tool's config, by tests or from outside the repository looks unused too, and removing it breaks the app.
git rm -- \ 'app/api/auth/[...nextauth]/_route.ts' \ components/ui/accordion.tsx \ components/ui/aspect-ratio.tsx \ components/ui/badge.tsx \ components/ui/calendar.tsx \ components/ui/checkbox.tsx \ components/ui/collapsible.tsx \ components/ui/command.tsx \ components/ui/context-menu.tsx \ components/ui/dialog.tsx \ components/ui/hover-card.tsx \ components/ui/menubar.tsx \ components/ui/navigation-menu.tsx \ components/ui/popover.tsx \ components/ui/progress.tsx \ components/ui/radio-group.tsx \ components/ui/scroll-area.tsx \ components/ui/select.tsx \ components/ui/separator.tsx \ components/ui/sheet.tsx \ components/ui/slider.tsx \ components/ui/switch.tsx \ components/ui/tabs.tsx \ components/ui/textarea.tsx \ components/ui/toggle.tsx \ components/ui/tooltip.tsx
components/icons.tsx: type Icon components/pager.tsx: getPagerForDoc, flatten components/sidebar-nav.tsx: DocsSidebarNavItems components/ui/alert-dialog.tsx: AlertDialogTrigger components/ui/dropdown-menu.tsx: DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuShortcut, DropdownMenuGroup, DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuRadioGroup components/ui/input.tsx: type InputProps components/ui/toast.tsx: ToastAction components/ui/use-toast.ts: reducer
| Severity | Finding | Location |
|---|---|---|
| Error | Error Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:11 | styles/editor.css:11 |
| Error | Error Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:13 | styles/editor.css:13 |
| Error | Error Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:26 | styles/editor.css:26 |
| Error | Error Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:31 | styles/editor.css:31 |
| Error | Error Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:32 | styles/editor.css:32 |
| Error | Error Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:37 | styles/editor.css:37 |
| Error | Error Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:50 | styles/editor.css:50 |
| Error | Error Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:51 | styles/editor.css:51 |
| Error | Error Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:55 | styles/editor.css:55 |
| Error | Error Unexpected unknown at-rule: tailwind biome/suspicious/noUnknownAtRules styles/globals.css:1 | styles/globals.css:1 |
| Error | Error Unexpected unknown at-rule: tailwind biome/suspicious/noUnknownAtRules styles/globals.css:2 | styles/globals.css:2 |
| Error | Error Unexpected unknown at-rule: tailwind biome/suspicious/noUnknownAtRules styles/globals.css:3 | styles/globals.css:3 |
| Warning | Warning Identifier 'Card' is imported but never used. eslint(no-unused-vars) app/(dashboard)/dashboard/billing/page.tsx:9 | app/(dashboard)/dashboard/billing/page.tsx:9 |
| Warning | Warning Identifier 'CardContent' is imported but never used. eslint(no-unused-vars) app/(dashboard)/dashboard/billing/page.tsx:10 | app/(dashboard)/dashboard/billing/page.tsx:10 |
| Warning | Warning Identifier 'CardDescription' is imported but never used. eslint(no-unused-vars) app/(dashboard)/dashboard/billing/page.tsx:11 | app/(dashboard)/dashboard/billing/page.tsx:11 |
| Warning | Warning Identifier 'CardHeader' is imported but never used. eslint(no-unused-vars) app/(dashboard)/dashboard/billing/page.tsx:12 | app/(dashboard)/dashboard/billing/page.tsx:12 |
| Warning | Warning Identifier 'CardTitle' is imported but never used. eslint(no-unused-vars) app/(dashboard)/dashboard/billing/page.tsx:13 | app/(dashboard)/dashboard/billing/page.tsx:13 |
| Warning | Warning Identifier 'Card' is imported but never used. eslint(no-unused-vars) app/(dashboard)/dashboard/settings/loading.tsx:1 | app/(dashboard)/dashboard/settings/loading.tsx:1 |
| Warning | Warning Expected expression to be used eslint(no-unused-expressions) app/(docs)/docs/[[...slug]]/page.tsx:27 | app/(docs)/docs/[[...slug]]/page.tsx:27 |
| Warning | Warning Expected expression to be used eslint(no-unused-expressions) app/(docs)/guides/[...slug]/page.tsx:29 | app/(docs)/guides/[...slug]/page.tsx:29 |
| Warning | Warning Expected expression to be used eslint(no-unused-expressions) app/(marketing)/[...slug]/page.tsx:24 | app/(marketing)/[...slug]/page.tsx:24 |
| Warning | Warning Expected expression to be used eslint(no-unused-expressions) app/(marketing)/blog/[...slug]/page.tsx:27 | app/(marketing)/blog/[...slug]/page.tsx:27 |
| Warning | Warning Catch parameter 'error' is caught but never used. eslint(no-unused-vars) app/(marketing)/page.tsx:30 | app/(marketing)/page.tsx:30 |
| Warning | Warning Catch parameter 'error' is caught but never used. eslint(no-unused-vars) app/api/og/route.tsx:143 | app/api/og/route.tsx:143 |
| Warning | Warning Catch parameter 'error' is caught but never used. eslint(no-unused-vars) app/api/posts/route.ts:36 | app/api/posts/route.ts:36 |