tpmjs/knip.json
Ajax Davis 378b068e38 feat: add quality gate tools and Node 22 setup
- Add type-coverage, knip, and dependency-cruiser for code quality
- Set up Node 22 (LTS) with .nvmrc file
- Configure knip for dead code detection across monorepo
- Configure dependency-cruiser with sensible architecture rules
- Add ts-reset for better TypeScript built-in types
- Fix Tabs component type exports for Storybook
- Recreate eslint react.js config that was missing
- Add quality gates documentation

All quality checks pass with 0 errors (only informational warnings).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 17:33:45 +10:00

57 lines
1.1 KiB
JSON

{
"$schema": "https://unpkg.com/knip@5/schema.json",
"workspaces": {
".": {
"entry": ["turbo.json"],
"project": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
"ignore": [
"**/*.test.ts",
"**/*.test.tsx",
"**/*.spec.ts",
"**/*.spec.tsx",
"**/dist/**",
"**/.next/**",
"**/node_modules/**",
"**/.turbo/**",
"**/storybook-static/**"
]
},
"apps/*": {
"entry": [
"app/**/*.ts",
"app/**/*.tsx",
"pages/**/*.ts",
"pages/**/*.tsx",
"src/**/*.ts",
"src/**/*.tsx"
],
"project": ["**/*.ts", "**/*.tsx"]
},
"packages/*": {
"entry": ["src/**/*.ts", "src/**/*.tsx", "index.ts", "index.tsx"],
"project": ["**/*.ts", "**/*.tsx"]
}
},
"ignore": [
"**/*.test.ts",
"**/*.test.tsx",
"**/*.spec.ts",
"**/*.spec.tsx",
"**/vitest.config.ts",
"**/tsup.config.ts",
"**/tailwind.config.ts",
"reset.d.ts"
],
"ignoreDependencies": [
"@changesets/cli",
"lefthook",
"turbo",
"typescript",
"@biomejs/biome",
"@total-typescript/ts-reset",
"type-coverage",
"knip",
"dependency-cruiser"
],
"ignoreExportsUsedInFile": true
}