import { base, defineConfig, mergeConfig } from "@raredays/lint/knip"; // Explicit return-type annotation avoids TS2742 (see oxlint.config.ts). const config: ReturnType = defineConfig( mergeConfig(base, { entry: [ // Read by path in scripts/build-theme.mjs (loadSiteSpec), never imported. "site.spec.ts", ], ignoreDependencies: [ // Shipped so an app author can drop in an icon without `pnpm add`; // the base template itself renders none out of the box. "lucide-react", // CRDA:knip-ignoreDependencies ], }), ); export default config;