Files
d6a7071fd9 chore: integrate knip (#23606)
* chore: integrate knip

Add knip to find unused files, exports, dependencies and circular imports,
and run it in the lint workflow.

- Route modules are loaded by directory import, so files exporting `route`,
  `namespace` or `apiRoute` are entries; a preprocessor drops those registry
  exports so the remaining unused exports of route files are still reported
- Remove unreachable files, needless `handler` exports and unused types
- Fix the cline namespace, which used a default export and was not registered
- Break circular imports in infzm, sdo/ff14risingstones and youtube
- Drop unused dependencies

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: bump knip to v6.47.0

* fix: handle namespace typo

* refactor: fix unused files

* refactor: fix unused dependencies

* refactor: fix unused exports

* refactor: fix unused exported types

* fix: update knip conf

* fix: ignore build output

* style: fix no-unnecessary-parameters

* feat: revive scnu from #12345

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2026-11-22 07:19:10 +08:00
..
2026-11-22 07:19:10 +08:00
2026-11-22 07:19:10 +08:00
…
…
…
…
…