knip.config.js/** @type {import('knip').KnipConfig} */export default {// Entry points - where knip starts tracing dependenciesentry: ['src/app/**/page.tsx','src/app/**/layout.tsx',// 'src/components/index.ts', // Removed to detect unused component exports'_scripts/**/*.{js,mjs}', // Build scripts run via npm commands],// All project files to analyzeproject: ['src/**/*.{ts,tsx}', '_scripts/**/*.{js,mjs}'],// Ignore patterns - files that are intentionally standalone or dynamically usedignore: [// Config files that are used by tools'src/components/**/config.ts',// Hooks that may be used dynamically'src/hooks/**',// Tools/utilities'src/tools/**',// Project case studies + their layout are loaded via template-literal// dynamic import (blog grid sidebar + /projects/[slug]), which knip// cannot trace statically.'src/projects/**','src/components/project-case-study.tsx',],// Dependencies used by config files or build tools (not direct imports)ignoreDependencies: ['tailwindcss','prettier-plugin-organize-imports','prettier-plugin-tailwindcss',],// Binaries used via npx (not installed as dependencies)ignoreBinaries: ['npm-check-updates'],// Disable checks for unused exports and typesrules: {exports: 'off',types: 'off',},}