chore: add knip config for unused-code detection

Workspace-aware entry points plus ignore lists for script-only tools
and tools knip's binary resolution misses. Adds `npm run knip`.
This commit is contained in:
Mohamed Boudra
2026-04-23 22:13:12 +07:00
parent cda3d1d46c
commit 2f381a76ed
2 changed files with 101 additions and 0 deletions

View File

@@ -48,6 +48,7 @@
"format:check": "oxfmt --check .",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"knip": "knip",
"start": "npm run start --workspace=@getpaseo/server",
"android": "npm run android --workspace=@getpaseo/app",
"android:development": "npm run android:development --workspace=@getpaseo/app",