Prüfe jeden Eintrag, bevor du ihn entfernst
Knip findet sie ausgehend von den Einstiegspunkten, die Agnes für das Repository ermittelt. Code, der über seinen Namen, die Konfiguration eines Tools, Tests oder von außerhalb des Repositorys geladen wird, wirkt ebenfalls ungenutzt, und ihn zu entfernen macht die App kaputt.
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
| Schweregrad | Befund | Ort |
|---|---|---|
| Warnung | Warnung Unused file: components/ui/navigation-menu.tsx knip/unused-file · mittlere Sicherheit components/ui/navigation-menu.tsx | components/ui/navigation-menu.tsx |
| Warnung | Warnung Unused file: components/ui/popover.tsx knip/unused-file · mittlere Sicherheit components/ui/popover.tsx | components/ui/popover.tsx |
| Warnung | Warnung Unused file: components/ui/progress.tsx knip/unused-file · mittlere Sicherheit components/ui/progress.tsx | components/ui/progress.tsx |
| Warnung | Warnung Unused file: components/ui/radio-group.tsx knip/unused-file · mittlere Sicherheit components/ui/radio-group.tsx | components/ui/radio-group.tsx |
| Warnung | Warnung Parameter 'children' is declared but never used. Unused parameters should start with a '_'. eslint(no-unused-vars) components/ui/radio-group.tsx:26 | components/ui/radio-group.tsx:26 |
| Warnung | Warnung Unused file: components/ui/scroll-area.tsx knip/unused-file · mittlere Sicherheit components/ui/scroll-area.tsx | components/ui/scroll-area.tsx |
| Warnung | Warnung Unused file: components/ui/select.tsx knip/unused-file · mittlere Sicherheit components/ui/select.tsx | components/ui/select.tsx |
| Warnung | Warnung Unused file: components/ui/separator.tsx knip/unused-file · mittlere Sicherheit components/ui/separator.tsx | components/ui/separator.tsx |
| Warnung | Warnung Unused file: components/ui/sheet.tsx knip/unused-file · mittlere Sicherheit components/ui/sheet.tsx | components/ui/sheet.tsx |
| Warnung | Warnung Parameter 'children' is declared but never used. Unused parameters should start with a '_'. eslint(no-unused-vars) components/ui/sheet.tsx:45 | components/ui/sheet.tsx:45 |
| Warnung | Warnung Unused file: components/ui/slider.tsx knip/unused-file · mittlere Sicherheit components/ui/slider.tsx | components/ui/slider.tsx |
| Warnung | Warnung Unused file: components/ui/switch.tsx knip/unused-file · mittlere Sicherheit components/ui/switch.tsx | components/ui/switch.tsx |
| Warnung | Warnung Unused file: components/ui/tabs.tsx knip/unused-file · mittlere Sicherheit components/ui/tabs.tsx | components/ui/tabs.tsx |
| Warnung | Warnung Unused file: components/ui/textarea.tsx knip/unused-file · mittlere Sicherheit components/ui/textarea.tsx | components/ui/textarea.tsx |
| Warnung | Warnung Unused file: components/ui/toggle.tsx knip/unused-file · mittlere Sicherheit components/ui/toggle.tsx | components/ui/toggle.tsx |
| Warnung | Warnung Unused file: components/ui/tooltip.tsx knip/unused-file · mittlere Sicherheit components/ui/tooltip.tsx | components/ui/tooltip.tsx |
| Warnung | Warnung 'toast' is already declared in the upper scope. eslint(no-shadow) components/ui/use-toast.ts:96 | components/ui/use-toast.ts:96 |
| Warnung | Warnung 'props' is already declared in the upper scope. eslint(no-shadow) components/ui/use-toast.ts:143 | components/ui/use-toast.ts:143 |
| Warnung | Warnung Found extra effect dependencies react(exhaustive-effect-dependencies) components/ui/use-toast.ts:180 | components/ui/use-toast.ts:180 |
| Warnung | Warnung Unexpected dangling '_' in '`_raw`'. eslint(no-underscore-dangle) contentlayer.config.js:11 | contentlayer.config.js:11 |
| Warnung | Warnung Unexpected dangling '_' in '`_raw`'. eslint(no-underscore-dangle) contentlayer.config.js:15 | contentlayer.config.js:15 |
| Warnung | Warnung Calling setState synchronously within an effect can trigger cascading renders react(set-state-in-effect) hooks/use-mounted.ts:7 | hooks/use-mounted.ts:7 |
| Warnung | Warnung Unexpected `any`. Specify a different type. typescript(no-explicit-any) lib/auth.ts:17 | lib/auth.ts:17 |
| Warnung | Warnung Do not use @ts-nocheck because it alters compilation errors. typescript(ban-ts-comment) lib/subscription.ts:1 | lib/subscription.ts:1 |
| Warnung | Warnung Do not use @ts-nocheck because it alters compilation errors. typescript(ban-ts-comment) lib/toc.ts:1 | lib/toc.ts:1 |