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 Unknown value "theme('colors.muted.DEFAULT')" for property "background-color" stylelint/declaration-property-value-no-unknown styles/editor.css:26 | styles/editor.css:26 |
| Waarschuwing | Waarschuwing Unknown value "theme('colors.border')" for property "border-color" stylelint/declaration-property-value-no-unknown styles/editor.css:31 | styles/editor.css:31 |
| Waarschuwing | Waarschuwing Unknown value "theme('colors.input')" for property "background" stylelint/declaration-property-value-no-unknown styles/editor.css:32 | styles/editor.css:32 |
| Waarschuwing | Waarschuwing Unknown value "theme('colors.accent.DEFAULT')" for property "background" stylelint/declaration-property-value-no-unknown styles/editor.css:37 | styles/editor.css:37 |
| Waarschuwing | Waarschuwing Unknown value "theme('colors.accent.DEFAULT')" for property "background-color" stylelint/declaration-property-value-no-unknown styles/editor.css:50 | styles/editor.css:50 |
| Waarschuwing | Waarschuwing Unknown value "theme('colors.accent.foreground')" for property "color" stylelint/declaration-property-value-no-unknown styles/editor.css:51 | styles/editor.css:51 |
| Waarschuwing | Waarschuwing Avoid the use of the !important style. biome/complexity/noImportantStyles styles/editor.css:55 | styles/editor.css:55 |
| Waarschuwing | Waarschuwing Unknown value "theme('colors.destructive.DEFAULT')" for property "background" stylelint/declaration-property-value-no-unknown styles/editor.css:55 | styles/editor.css:55 |
| Info | Info No test files were found among 124 source files tests/none · gemiddelde zekerheid | – |
| Info | Info Maintainability: could be better (FTA score 51.2, cyclomatic 5) fta/maintainability app/(docs)/docs/[[...slug]]/page.tsx | app/(docs)/docs/[[...slug]]/page.tsx |
| Info | Info Maintainability: could be better (FTA score 53.6, cyclomatic 4) fta/maintainability app/(docs)/guides/[...slug]/page.tsx | app/(docs)/guides/[...slug]/page.tsx |
| Info | Info Maintainability: could be better (FTA score 50.2, cyclomatic 5) fta/maintainability app/(marketing)/[...slug]/page.tsx | app/(marketing)/[...slug]/page.tsx |
| Info | Info Maintainability: could be better (FTA score 54.7, cyclomatic 8) fta/maintainability app/(marketing)/blog/[...slug]/page.tsx | app/(marketing)/blog/[...slug]/page.tsx |
| Info | Info Maintainability: could be better (FTA score 55.0, cyclomatic 6) fta/maintainability app/api/og/route.tsx | app/api/og/route.tsx |
| Info | Info 12 lines duplicated in app/api/posts/[postId]/route.ts:44-55 jscpd/duplicate-code app/api/posts/[postId]/route.ts:14 | app/api/posts/[postId]/route.ts:14 |
| Info | Info 9 lines duplicated in app/api/posts/[postId]/route.ts:73-81 jscpd/duplicate-code app/api/posts/[postId]/route.ts:34 | app/api/posts/[postId]/route.ts:34 |
| Info | Info 9 lines duplicated in app/api/users/stripe/route.ts:53-61 jscpd/duplicate-code app/api/posts/[postId]/route.ts:34 | app/api/posts/[postId]/route.ts:34 |
| Info | Info 13 lines duplicated in app/api/users/[userId]/route.ts:38-50 jscpd/duplicate-code app/api/posts/[postId]/route.ts:69 | app/api/posts/[postId]/route.ts:69 |
| Info | Info Maintainability: could be better (FTA score 55.5, cyclomatic 8) fta/maintainability components/editor.tsx | components/editor.tsx |
| Info | Info Unused exported type: Icon knip/unused-type · gemiddelde zekerheid components/icons.tsx:29 | components/icons.tsx:29 |
| Info | Info Unused export: getPagerForDoc knip/unused-export · gemiddelde zekerheid components/pager.tsx:44 | components/pager.tsx:44 |
| Info | Info Unused export: flatten knip/unused-export · gemiddelde zekerheid components/pager.tsx:60 | components/pager.tsx:60 |
| Info | Info Maintainability: could be better (FTA score 53.9, cyclomatic 4) fta/maintainability components/post-operations.tsx | components/post-operations.tsx |
| Info | Info Unused export: DocsSidebarNavItems knip/unused-export · gemiddelde zekerheid components/sidebar-nav.tsx:37 | components/sidebar-nav.tsx:37 |
| Info | Info Unused export: AlertDialogTrigger knip/unused-export · gemiddelde zekerheid components/ui/alert-dialog.tsx:142 | components/ui/alert-dialog.tsx:142 |