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 |
|---|---|---|
| Info | Info Maintainability: could be better (FTA score 51.3, cyclomatic 8) fta/maintainability components/user-auth-form.tsx | components/user-auth-form.tsx |
| Info | Info Maintainability: could be better (FTA score 53.7, cyclomatic 5) fta/maintainability components/user-name-form.tsx | components/user-name-form.tsx |
| Info | Info Tailwind-specific syntax is disabled. biome/parse · low confidence styles/globals.css:75 | styles/globals.css:75 |
| Info | Info Tailwind-specific syntax is disabled. biome/parse · low confidence styles/globals.css:78 | styles/globals.css:78 |
| Info | Info Tailwind-specific syntax is disabled. biome/parse · low confidence styles/mdx.css:2 | styles/mdx.css:2 |
| Info | Info Tailwind-specific syntax is disabled. biome/parse · low confidence styles/mdx.css:7 | styles/mdx.css:7 |
| Info | Info Tailwind-specific syntax is disabled. biome/parse · low confidence styles/mdx.css:19 | styles/mdx.css:19 |
| Info | Info Tailwind-specific syntax is disabled. biome/parse · low confidence styles/mdx.css:22 | styles/mdx.css:22 |
| Info | Info Tailwind-specific syntax is disabled. biome/parse · low confidence styles/mdx.css:25 | styles/mdx.css:25 |
| Info | Info Tailwind-specific syntax is disabled. biome/parse · low confidence styles/mdx.css:28 | styles/mdx.css:28 |
| Info | Info Tailwind-specific syntax is disabled. biome/parse · low confidence styles/mdx.css:31 | styles/mdx.css:31 |