Files
metabuilder/postgres/knip.config.ts
johndoe6345789 a51130a127 feat: Add external low-code and postgres repositories
- codegen: Low-code React app with JSON-driven component system
- packagerepo: Schema-driven package repository with backend/frontend
- postgres: Next.js app with Drizzle ORM and PostgreSQL

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 16:48:52 +00:00

29 lines
682 B
TypeScript

import type { KnipConfig } from 'knip';
const config: KnipConfig = {
// Files to exclude from Knip analysis
ignore: [
'checkly.config.ts',
'src/libs/I18n.ts',
'src/types/I18n.ts',
'src/utils/Helpers.ts',
'tests/**/*.ts',
],
// Dependencies to ignore during analysis
ignoreDependencies: [
'@commitlint/types',
'@clerk/types',
'conventional-changelog-conventionalcommits',
'vite',
],
// Binaries to ignore during analysis
ignoreBinaries: [
'production', // False positive raised with dotenv-cli
],
compilers: {
css: (text: string) => [...text.matchAll(/(?<=@)import[^;]+/g)].join('\n'),
},
};
export default config;