React Doctor 0.5.6 reports incomplete lint results when installed into one pnpm project and run from that project with pnpm exec react-doctor.
Command:
pnpm add -D react-doctor@0.5.6
pnpm exec react-doctor . --scope changed --verbose --no-score
Output:
Failed to parse oxlint output: Failed to parse oxlint configuration file.
x Failed to load JS plugin: /path/to/project/node_modules/.pnpm/eslint-plugin-react-hooks@7.1.1_eslint@9.39.4_jiti@2.7.0_/node_modules/
No issues detected, but lint checks failed — results are incomplete.
Expected:
React Doctor should pass oxlint the resolved plugin entry file/package path, not the parent node_modules/ directory.
This seems related to the prior react-hooks-js / eslint-plugin-react-hooks resolution class of issues (#141, #496), but the observed failure is specifically an invalid jsPlugins path ending in /node_modules/.
I also saw #627, which appears likely to remove this dependency path entirely, so this may already be fixed by that unreleased direction.
React Doctor 0.5.6 reports incomplete lint results when installed into one pnpm project and run from that project with
pnpm exec react-doctor.Command:
Output:
Expected:
React Doctor should pass oxlint the resolved plugin entry file/package path, not the parent node_modules/ directory.
This seems related to the prior react-hooks-js / eslint-plugin-react-hooks resolution class of issues (#141, #496), but the observed failure is specifically an invalid jsPlugins path ending in /node_modules/.
I also saw #627, which appears likely to remove this dependency path entirely, so this may already be fixed by that unreleased direction.