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/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 |
| Warnung | Warnung should be a `Set`, and use `.has()` to check existence or non-existence. unicorn(prefer-set-has) lib/toc.ts:8 | lib/toc.ts:8 |
| Warnung | Warnung 'node' is already declared in the upper scope. eslint(no-shadow) lib/toc.ts:12 | lib/toc.ts:12 |
| Warnung | Warnung Imported module should be assigned import(no-unassigned-import) next.config.mjs:3 | next.config.mjs:3 |
| Warnung | Warnung @hookform/resolvers@3.1.0Direkt4 Major-Versionen zurückDeklariert in package.json
package.json | package.json |
| Warnung | Warnung @prisma/client@4.13.0Direkt3 Major-Versionen zurückDeklariert in package.json
package.json | package.json |
| Warnung | Warnung @typescript-eslint/parser@5.59.0Direkt3 Major-Versionen zurückDeklariert in package.json
package.json | package.json |
| Warnung | Warnung concurrently@8.0.1Direkt2 Major-Versionen zurückDeklariert in package.json
package.json | package.json |
| Warnung | Warnung date-fns@2.29.3Direkt2 Major-Versionen zurückDeklariert in package.json
package.json | package.json |
| Warnung | Warnung postmark@3.0.15Direkt2 Major-Versionen zurückDeklariert in package.json
package.json | package.json |
| Warnung | Warnung react-day-picker@8.7.1Direkt2 Major-Versionen zurückDeklariert in package.json
package.json | package.json |
| Warnung | Warnung shiki@0.11.1Direkt4 Major-Versionen zurückDeklariert in package.json
package.json | package.json |
| Warnung | Warnung stripe@11.18.0Direkt12 Major-Versionen zurückDeklariert in package.json
package.json | package.json |