Controleer elk item voordat je het verwijdert
Knip vindt deze vanaf de startpunten die Agnes voor de repository bepaalt. Code die op naam, door de config van een tool, door tests of van buiten de repository wordt geladen, lijkt ook ongebruikt, en die verwijderen breekt de 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
| Ernst | Bevinding | Locatie |
|---|---|---|
| Fout | Fout Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:11 | styles/editor.css:11 |
| Fout | Fout Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:13 | styles/editor.css:13 |
| Fout | Fout Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:26 | styles/editor.css:26 |
| Fout | Fout Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:31 | styles/editor.css:31 |
| Fout | Fout Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:32 | styles/editor.css:32 |
| Fout | Fout Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:37 | styles/editor.css:37 |
| Fout | Fout Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:50 | styles/editor.css:50 |
| Fout | Fout Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:51 | styles/editor.css:51 |
| Fout | Fout Unexpected unknown function: theme biome/correctness/noUnknownFunction styles/editor.css:55 | styles/editor.css:55 |
| Fout | Fout Unexpected unknown at-rule: tailwind biome/suspicious/noUnknownAtRules styles/globals.css:1 | styles/globals.css:1 |
| Fout | Fout Unexpected unknown at-rule: tailwind biome/suspicious/noUnknownAtRules styles/globals.css:2 | styles/globals.css:2 |
| Fout | Fout Unexpected unknown at-rule: tailwind biome/suspicious/noUnknownAtRules styles/globals.css:3 | styles/globals.css:3 |
| Waarschuwing | Waarschuwing 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 |
| Waarschuwing | Waarschuwing 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 |
| Waarschuwing | Waarschuwing 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 |
| Waarschuwing | Waarschuwing 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 |
| Waarschuwing | Waarschuwing 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 |
| Waarschuwing | Waarschuwing 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 |
| Waarschuwing | Waarschuwing Imported module should be assigned import(no-unassigned-import) app/(docs)/docs/[[...slug]]/page.tsx:10 | app/(docs)/docs/[[...slug]]/page.tsx:10 |
| Waarschuwing | Waarschuwing 'doc' is already declared in the upper scope. eslint(no-shadow) app/(docs)/docs/[[...slug]]/page.tsx:24 | app/(docs)/docs/[[...slug]]/page.tsx:24 |
| Waarschuwing | Waarschuwing Expected expression to be used eslint(no-unused-expressions) app/(docs)/docs/[[...slug]]/page.tsx:27 | app/(docs)/docs/[[...slug]]/page.tsx:27 |
| Waarschuwing | Waarschuwing Imported module should be assigned import(no-unassigned-import) app/(docs)/guides/[...slug]/page.tsx:11 | app/(docs)/guides/[...slug]/page.tsx:11 |
| Waarschuwing | Waarschuwing 'guide' is already declared in the upper scope. eslint(no-shadow) app/(docs)/guides/[...slug]/page.tsx:26 | app/(docs)/guides/[...slug]/page.tsx:26 |
| Waarschuwing | Waarschuwing Expected expression to be used eslint(no-unused-expressions) app/(docs)/guides/[...slug]/page.tsx:29 | app/(docs)/guides/[...slug]/page.tsx:29 |
| Waarschuwing | Waarschuwing Use `Array#toSorted()` instead of `Array#sort()`. unicorn(no-array-sort) app/(docs)/guides/page.tsx:17 | app/(docs)/guides/page.tsx:17 |