chore: add knip

This commit is contained in:
Charlie Lamb
2026-01-27 19:03:51 +00:00
parent 2afa4d4ab6
commit 0e438d0fb1
6 changed files with 132 additions and 6 deletions

27
knip.json Normal file
View File

@@ -0,0 +1,27 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"workspaces": {
".": {
"ignore": [".opencode/**"]
},
"server": {
"entry": ["tests/**/*.ts"],
"project": ["src/**/*.ts", "tests/**/*.ts"],
"ignore": ["src/_luaScripts/**", "src/_luaScriptsV2/**"]
},
"shared": {
"entry": ["index.ts"],
"project": ["**/*.ts"],
"includeEntryExports": false
},
"vite": {
"entry": ["src/main.tsx"],
"project": ["src/**/*.{ts,tsx}"]
},
"scripts": {
"entry": ["**/*.{ts,js}"],
"project": ["**/*.{ts,js}"]
}
},
"ignoreBinaries": ["infisical", "lsof", "serve"]
}