-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathknip.config.ts
More file actions
25 lines (23 loc) · 698 Bytes
/
Copy pathknip.config.ts
File metadata and controls
25 lines (23 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import type { KnipConfig } from 'knip';
const config = {
// tsdown resolves this optional peer while building workspace packages.
// Tailwind v4 is consumed by the CSS import in apps/web/app/globals.css;
// Knip does not follow CSS imports (see its configuration hint).
ignoreDependencies: ['unrun', 'tailwindcss'],
workspaces: {
'apps/web': {
project: ['app/**/*.{ts,tsx}'],
next: true,
},
'apps/jd': {
ignoreDependencies: ['@iconify-json/lucide', '@nuxt/test-utils', 'vue-tsc'],
},
'packages/hr-skills-build': {
project: ['src/**/*.ts'],
},
'packages/hr-skills-ref': {
project: ['src/**/*.ts'],
},
},
} satisfies Partial<KnipConfig>;
export default config;