Problem
React Doctor 0.9.3 uses deslop-js for dead-code diagnostics but does not consume the standard TypeScript Knip config file. It only reads knip.json and package.json#knip when collecting entry and ignore patterns.
In a workspace with client/knip.config.ts, React Doctor resolves client as a scan root and reports generated files that the existing Knip config already ignores. To suppress the false positives, we must duplicate those paths in client/package.json.
Expected
React Doctor should load knip.config.{ts,js,mjs,cjs} through Knip's config resolution, or otherwise support the same config locations and fields as Knip for its dead-code integration.
Impact
Projects using standard Knip TypeScript configuration need duplicated, divergent ignore declarations solely for React Doctor.
Problem
React Doctor 0.9.3 uses
deslop-jsfor dead-code diagnostics but does not consume the standard TypeScript Knip config file. It only readsknip.jsonandpackage.json#knipwhen collectingentryandignorepatterns.In a workspace with
client/knip.config.ts, React Doctor resolvesclientas a scan root and reports generated files that the existing Knip config already ignores. To suppress the false positives, we must duplicate those paths inclient/package.json.Expected
React Doctor should load
knip.config.{ts,js,mjs,cjs}through Knip's config resolution, or otherwise support the same config locations and fields as Knip for its dead-code integration.Impact
Projects using standard Knip TypeScript configuration need duplicated, divergent ignore declarations solely for React Doctor.