Findings of the ruleknip/unused-fileShow all rules
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 |
|---|---|---|
| Warning | Warning Unused file: app/api/auth/[...nextauth]/_route.ts knip/unused-file · medium confidence app/api/auth/[...nextauth]/_route.ts | app/api/auth/[...nextauth]/_route.ts |
| Warning | Warning Unused file: components/ui/accordion.tsx knip/unused-file · medium confidence components/ui/accordion.tsx | components/ui/accordion.tsx |
| Warning | Warning Unused file: components/ui/aspect-ratio.tsx knip/unused-file · medium confidence components/ui/aspect-ratio.tsx | components/ui/aspect-ratio.tsx |
| Warning | Warning Unused file: components/ui/badge.tsx knip/unused-file · medium confidence components/ui/badge.tsx | components/ui/badge.tsx |
| Warning | Warning Unused file: components/ui/calendar.tsx knip/unused-file · medium confidence components/ui/calendar.tsx | components/ui/calendar.tsx |
| Warning | Warning Unused file: components/ui/checkbox.tsx knip/unused-file · medium confidence components/ui/checkbox.tsx | components/ui/checkbox.tsx |
| Warning | Warning Unused file: components/ui/collapsible.tsx knip/unused-file · medium confidence components/ui/collapsible.tsx | components/ui/collapsible.tsx |
| Warning | Warning Unused file: components/ui/command.tsx knip/unused-file · medium confidence components/ui/command.tsx | components/ui/command.tsx |
| Warning | Warning Unused file: components/ui/context-menu.tsx knip/unused-file · medium confidence components/ui/context-menu.tsx | components/ui/context-menu.tsx |
| Warning | Warning Unused file: components/ui/dialog.tsx knip/unused-file · medium confidence components/ui/dialog.tsx | components/ui/dialog.tsx |
| Warning | Warning Unused file: components/ui/hover-card.tsx knip/unused-file · medium confidence components/ui/hover-card.tsx | components/ui/hover-card.tsx |
| Warning | Warning Unused file: components/ui/menubar.tsx knip/unused-file · medium confidence components/ui/menubar.tsx | components/ui/menubar.tsx |
| Warning | Warning Unused file: components/ui/navigation-menu.tsx knip/unused-file · medium confidence components/ui/navigation-menu.tsx | components/ui/navigation-menu.tsx |
| Warning | Warning Unused file: components/ui/popover.tsx knip/unused-file · medium confidence components/ui/popover.tsx | components/ui/popover.tsx |
| Warning | Warning Unused file: components/ui/progress.tsx knip/unused-file · medium confidence components/ui/progress.tsx | components/ui/progress.tsx |
| Warning | Warning Unused file: components/ui/radio-group.tsx knip/unused-file · medium confidence components/ui/radio-group.tsx | components/ui/radio-group.tsx |
| Warning | Warning Unused file: components/ui/scroll-area.tsx knip/unused-file · medium confidence components/ui/scroll-area.tsx | components/ui/scroll-area.tsx |
| Warning | Warning Unused file: components/ui/select.tsx knip/unused-file · medium confidence components/ui/select.tsx | components/ui/select.tsx |
| Warning | Warning Unused file: components/ui/separator.tsx knip/unused-file · medium confidence components/ui/separator.tsx | components/ui/separator.tsx |
| Warning | Warning Unused file: components/ui/sheet.tsx knip/unused-file · medium confidence components/ui/sheet.tsx | components/ui/sheet.tsx |
| Warning | Warning Unused file: components/ui/slider.tsx knip/unused-file · medium confidence components/ui/slider.tsx | components/ui/slider.tsx |
| Warning | Warning Unused file: components/ui/switch.tsx knip/unused-file · medium confidence components/ui/switch.tsx | components/ui/switch.tsx |
| Warning | Warning Unused file: components/ui/tabs.tsx knip/unused-file · medium confidence components/ui/tabs.tsx | components/ui/tabs.tsx |
| Warning | Warning Unused file: components/ui/textarea.tsx knip/unused-file · medium confidence components/ui/textarea.tsx | components/ui/textarea.tsx |
| Warning | Warning Unused file: components/ui/toggle.tsx knip/unused-file · medium confidence components/ui/toggle.tsx | components/ui/toggle.tsx |