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 |
|---|---|---|
| Fehler | Fehler Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:11 | styles/editor.css:11 |
| Fehler | Fehler Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:13 | styles/editor.css:13 |
| Fehler | Fehler Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:26 | styles/editor.css:26 |
| Fehler | Fehler Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:31 | styles/editor.css:31 |
| Fehler | Fehler Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:32 | styles/editor.css:32 |
| Fehler | Fehler Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:37 | styles/editor.css:37 |
| Fehler | Fehler Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:50 | styles/editor.css:50 |
| Fehler | Fehler Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:51 | styles/editor.css:51 |
| Fehler | Fehler Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:55 | styles/editor.css:55 |
| Fehler | Fehler Unexpected unknown at-rule: tailwind biome/suspicious/noUnknownAtRules styles/globals.css:1 | styles/globals.css:1 |
| Fehler | Fehler Unexpected unknown at-rule: tailwind biome/suspicious/noUnknownAtRules styles/globals.css:2 | styles/globals.css:2 |
| Fehler | Fehler Unexpected unknown at-rule: tailwind biome/suspicious/noUnknownAtRules styles/globals.css:3 | styles/globals.css:3 |
| Warnung | Warnung 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 |
| Warnung | Warnung 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 |
| Warnung | Warnung 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 |
| Warnung | Warnung 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 |
| Warnung | Warnung 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 |
| Warnung | Warnung 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 |
| Warnung | Warnung Expected expression to be used eslint(no-unused-expressions) app/(docs)/docs/[[...slug]]/page.tsx:27 | app/(docs)/docs/[[...slug]]/page.tsx:27 |
| Warnung | Warnung Expected expression to be used eslint(no-unused-expressions) app/(docs)/guides/[...slug]/page.tsx:29 | app/(docs)/guides/[...slug]/page.tsx:29 |
| Warnung | Warnung Expected expression to be used eslint(no-unused-expressions) app/(marketing)/[...slug]/page.tsx:24 | app/(marketing)/[...slug]/page.tsx:24 |
| Warnung | Warnung Expected expression to be used eslint(no-unused-expressions) app/(marketing)/blog/[...slug]/page.tsx:27 | app/(marketing)/blog/[...slug]/page.tsx:27 |
| Warnung | Warnung Catch parameter 'error' is caught but never used. eslint(no-unused-vars) app/(marketing)/page.tsx:30 | app/(marketing)/page.tsx:30 |
| Warnung | Warnung Catch parameter 'error' is caught but never used. eslint(no-unused-vars) app/api/og/route.tsx:143 | app/api/og/route.tsx:143 |
| Warnung | Warnung Catch parameter 'error' is caught but never used. eslint(no-unused-vars) app/api/posts/route.ts:36 | app/api/posts/route.ts:36 |