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 |
|---|---|---|
| Waarschuwing | Waarschuwing Unused file: components/ui/tabs.tsx knip/unused-file · gemiddelde zekerheid components/ui/tabs.tsx | components/ui/tabs.tsx |
| Waarschuwing | Waarschuwing Unused file: components/ui/textarea.tsx knip/unused-file · gemiddelde zekerheid components/ui/textarea.tsx | components/ui/textarea.tsx |
| Waarschuwing | Waarschuwing Unused file: components/ui/toggle.tsx knip/unused-file · gemiddelde zekerheid components/ui/toggle.tsx | components/ui/toggle.tsx |
| Waarschuwing | Waarschuwing Unused file: components/ui/tooltip.tsx knip/unused-file · gemiddelde zekerheid components/ui/tooltip.tsx | components/ui/tooltip.tsx |
| Waarschuwing | Waarschuwing 'toast' is already declared in the upper scope. eslint(no-shadow) components/ui/use-toast.ts:96 | components/ui/use-toast.ts:96 |
| Waarschuwing | Waarschuwing 'props' is already declared in the upper scope. eslint(no-shadow) components/ui/use-toast.ts:143 | components/ui/use-toast.ts:143 |
| Waarschuwing | Waarschuwing Found extra effect dependencies react(exhaustive-effect-dependencies) components/ui/use-toast.ts:180 | components/ui/use-toast.ts:180 |
| Waarschuwing | Waarschuwing Unexpected dangling '_' in '`_raw`'. eslint(no-underscore-dangle) contentlayer.config.js:11 | contentlayer.config.js:11 |
| Waarschuwing | Waarschuwing Unexpected dangling '_' in '`_raw`'. eslint(no-underscore-dangle) contentlayer.config.js:15 | contentlayer.config.js:15 |
| Waarschuwing | Waarschuwing 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 |
| Waarschuwing | Waarschuwing Unexpected `any`. Specify a different type. typescript(no-explicit-any) lib/auth.ts:17 | lib/auth.ts:17 |
| Waarschuwing | Waarschuwing Do not use @ts-nocheck because it alters compilation errors. typescript(ban-ts-comment) lib/subscription.ts:1 | lib/subscription.ts:1 |
| Waarschuwing | Waarschuwing Do not use @ts-nocheck because it alters compilation errors. typescript(ban-ts-comment) lib/toc.ts:1 | lib/toc.ts:1 |
| Waarschuwing | Waarschuwing 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 |
| Waarschuwing | Waarschuwing 'node' is already declared in the upper scope. eslint(no-shadow) lib/toc.ts:12 | lib/toc.ts:12 |
| Waarschuwing | Waarschuwing Imported module should be assigned import(no-unassigned-import) next.config.mjs:3 | next.config.mjs:3 |
| Waarschuwing | Waarschuwing @hookform/resolvers@3.1.0Direct4 major versies achterGedeclareerd in package.json
package.json | package.json |
| Waarschuwing | Waarschuwing @prisma/client@4.13.0Direct3 major versies achterGedeclareerd in package.json
package.json | package.json |
| Waarschuwing | Waarschuwing @typescript-eslint/parser@5.59.0Direct3 major versies achterGedeclareerd in package.json
package.json | package.json |
| Waarschuwing | Waarschuwing concurrently@8.0.1Direct2 major versies achterGedeclareerd in package.json
package.json | package.json |
| Waarschuwing | Waarschuwing date-fns@2.29.3Direct2 major versies achterGedeclareerd in package.json
package.json | package.json |
| Waarschuwing | Waarschuwing postmark@3.0.15Direct2 major versies achterGedeclareerd in package.json
package.json | package.json |
| Waarschuwing | Waarschuwing react-day-picker@8.7.1Direct2 major versies achterGedeclareerd in package.json
package.json | package.json |
| Waarschuwing | Waarschuwing shiki@0.11.1Direct4 major versies achterGedeclareerd in package.json
package.json | package.json |
| Waarschuwing | Waarschuwing stripe@11.18.0Direct12 major versies achterGedeclareerd in package.json
package.json | package.json |