-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathknip.json
More file actions
54 lines (54 loc) · 1.15 KB
/
knip.json
File metadata and controls
54 lines (54 loc) · 1.15 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"entry": [
"src/app/**/page.tsx",
"src/app/**/layout.tsx",
"src/app/**/error.tsx",
"src/app/**/loading.tsx",
"src/app/**/not-found.tsx",
"src/app/**/route.ts",
"src/app/**/route.tsx",
"src/middleware.ts",
"src/instrumentation.ts",
"public/embed.js",
"prisma/seed.ts"
],
"project": [
"src/**/*.{ts,tsx}",
"!src/generated/**"
],
"ignore": [
"src/generated/**",
"**/*.d.ts",
"test-*.ts"
],
"ignoreDependencies": [
"prisma",
"@prisma/client",
"@prisma/adapter-pg",
"tsx",
"postcss",
"@tailwindcss/postcss",
"jsdom",
"@playwright/test",
"@playwright/mcp",
"@testing-library/jest-dom",
"@testing-library/react"
],
"ignoreExportsUsedInFile": true,
"rules": {
"files": "warn",
"exports": "warn",
"types": "warn",
"nsExports": "warn",
"nsTypes": "warn",
"duplicates": "warn",
"enumMembers": "warn",
"classMembers": "warn",
"dependencies": "warn",
"devDependencies": "warn",
"optionalPeerDependencies": "off",
"unlisted": "warn",
"unresolved": "warn"
}
}