-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathknip.json
More file actions
80 lines (80 loc) · 1.84 KB
/
knip.json
File metadata and controls
80 lines (80 loc) · 1.84 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"workspaces": {
".": {
"entry": ["scripts/**/*.js", "knip.js", "knip.config.js"],
"project": ["scripts/**/*.js", "*.js", "*.ts", "*.json"]
},
"apps/api": {
"entry": ["src/index.ts", "src/**/*.ts"],
"project": ["src/**/*.ts", "drizzle.config.ts"],
"ignoreDependencies": ["@types/bcryptjs", "@types/uuid"]
},
"apps/web": {
"entry": [
"app/**/*.tsx",
"app/**/*.ts",
"components/**/*.tsx",
"lib/**/*.ts",
"pages/api/**/*.ts"
],
"project": [
"app/**/*.ts",
"app/**/*.tsx",
"components/**/*.ts",
"components/**/*.tsx",
"lib/**/*.ts",
"pages/**/*.ts",
"pages/**/*.tsx",
"middleware.ts"
],
"ignoreDependencies": ["@types/node"]
},
"packages/ui": {
"entry": ["src/**/*.ts", "src/**/*.tsx"],
"project": ["src/**/*.ts", "src/**/*.tsx"]
},
"packages/eslint-config-custom": {
"entry": ["index.js"],
"project": ["*.js"]
},
"packages/tsconfig": {
"entry": ["base.json", "nextjs.json", "react-library.json"],
"project": ["*.json"]
}
},
"ignore": [
"**/node_modules/**",
"**/.next/**",
"**/dist/**",
"**/build/**",
"**/coverage/**",
"**/turbo/**",
"**/.turbo/**",
"**/playwright/**",
"**/.auth/**",
"**/*.test.ts",
"**/*.test.tsx",
"**/*.spec.ts",
"**/*.spec.tsx",
"**/test/**",
"**/tests/**",
"**/quarantine/**",
"**/uploads/**",
"**/logs/**",
"**/.env*.local",
"**/.DS_Store",
"**/Thumbs.db"
],
"ignoreBinaries": ["tsx", "drizzle-kit", "playwright", "vitest"],
"ignoreDependencies": [
"eslint",
"prettier",
"typescript",
"@types/node",
"@types/react",
"@types/react-dom",
"tailwindcss",
"postcss",
"autoprefixer"
]
}