forked from microsoft/DefinitelyTyped-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.knip.jsonc
89 lines (89 loc) · 2.39 KB
/
.knip.jsonc
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
81
82
83
84
85
86
87
88
89
{
"$schema": "https://unpkg.com/knip@2/schema.json",
"workspaces": {
".": {
"ignoreBinaries": ["only-allow"]
},
"packages/definitions-parser": {
"entry": "src/index.ts",
"project": "**/*.ts"
},
"packages/dts-critic": {
"entry": ["develop.ts", "dt.ts", "index.ts"],
"project": "**/*.ts"
},
"packages/dtslint": {
"entry": ["src/index.ts", "src/updateConfig.ts", "src/rules/*.ts"],
"project": "**/*.ts",
"ignoreDependencies": [
"@typescript-eslint/eslint-plugin",
"@typescript-eslint/parser",
"@typescript-eslint/types",
"@typescript-eslint/utils",
"eslint-plugin-import"
]
},
"packages/dtslint-runner": {
"entry": ["src/index.ts", "src/post-results.ts"],
"project": "**/*.ts"
},
"packages/eslint-plugin": {
"entry": "src/index.ts",
"project": "**/*.ts",
"ignoreDependencies": ["@definitelytyped/eslint-plugin"]
},
"packages/header-parser": {
"entry": "src/index.ts",
"project": "**/*.ts"
},
"packages/publisher": {
"entry": [
"src/calculate-versions.ts",
"src/clean.ts",
"src/full.ts",
"src/generate-packages.ts",
"src/get-definitely-typed.ts",
"src/index.ts",
"src/main.ts",
"src/publish-packages.ts",
"src/publish-registry.ts",
"src/run.ts",
"src/tester/test.ts",
"src/validate.ts"
],
"project": "**/*.ts"
},
"packages/retag": {
"entry": "src/index.ts",
"project": "**/*.ts"
},
"packages/typescript-packages": {
"entry": "src/index.ts",
"project": "**/*.ts",
"ignoreDependencies": [
// A regex should work, but doesn't.
"typescript-4.5",
"typescript-4.6",
"typescript-4.7",
"typescript-4.8",
"typescript-4.9",
"typescript-5.0",
"typescript-5.1",
"typescript-5.2",
"typescript-5.3",
"typescript-5.4"
]
},
"packages/typescript-versions": {
"entry": "src/index.ts",
"project": "**/*.ts"
},
"packages/utils": {
"entry": ["src/index.ts", "src/types/*.ts"],
"project": "**/*.ts",
"ignoreDependencies": ["@qiwi/npm-types"]
}
},
"ignore": ["**/fixtures", "**/testsource", "**/dtslint/test/*/**", "**/*.d.ts"],
"ignoreExportsUsedInFile": true
}