Describe the bug
TypeScript throws build errors when type-checking @eslint-react/eslint-plugin.
Looks like it has something to do with missing dependencies from @eslint-react/shared.
$ tsc
node_modules/@eslint-react/shared/dist/index.d.ts:5:29 - error TS2307: Cannot find module 'type-fest' or its corresponding type declarations.
5 import { PartialDeep } from "type-fest";
~~~~~~~~~~~
node_modules/@eslint-react/shared/dist/index.d.ts:17:25 - error TS2503: Cannot find namespace 'NodeJS'.
17 declare const _require: NodeJS.Require;
~~~~~~
Found 2 errors in the same file, starting at: node_modules/@eslint-react/shared/dist/index.d.ts:5
Reproduction
See this minimal reproduction: https://stackblitz.com/edit/eslint-react-eslint-plugin-1306
Expected behavior
Type check should pass.
Platform and versions
Node v24.11.0
TypeScript v5.9.3
ESLint v9.39.1
@eslint-react/eslint-plugin v2.3.1
Additional context
Workaround: skipLibCheck: true
Describe the bug
TypeScript throws build errors when type-checking
@eslint-react/eslint-plugin.Looks like it has something to do with missing dependencies from
@eslint-react/shared.Reproduction
See this minimal reproduction: https://stackblitz.com/edit/eslint-react-eslint-plugin-1306
Expected behavior
Type check should pass.
Platform and versions
Additional context
Workaround:
skipLibCheck: true