-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathknip.jsonc
More file actions
51 lines (51 loc) · 1.23 KB
/
knip.jsonc
File metadata and controls
51 lines (51 loc) · 1.23 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
{
"$schema": "https://unpkg.com/knip@6.16.1/schema.json",
"entry": [
"index.ts",
"lib/index.ts",
"lib/auth/index.ts",
"lib/request/index.ts",
"lib/codex-cli/index.ts",
"lib/ui/index.ts",
"scripts/*.{js,mjs}",
"test/**/*.test.ts",
"test/helpers/**/*.ts"
],
"project": [
"lib/**/*.ts",
"scripts/**/*.{js,mjs}",
"index.ts",
"test/**/*.ts"
],
"ignore": [
"bench/**",
"vendor/**",
"dist/**",
"docs/**"
],
"ignoreBinaries": [
"powershell.exe",
"pbcopy",
"where"
],
"ignoreDependencies": [
// Editor-only LSP tooling; never imported.
"typescript-language-server",
// The official Codex CLI this package wraps: resolved from the HOST
// install at runtime (scripts/codex-bin-resolver.js), deliberately not
// a package.json dependency.
"@openai/codex"
],
// Export/type-level findings are warn-only on purpose: the blocking signal
// is unused FILES and DEPENDENCIES. The export backlog was cleared
// incrementally (PRs #556/#557, down to two documented keepers); escalate a
// rule to "error" once its warning count is intentionally pinned at zero.
"rules": {
"exports": "warn",
"types": "warn",
"nsExports": "warn",
"nsTypes": "warn",
"duplicates": "warn",
"enumMembers": "warn"
}
}