After updating eslint-import-resolver-typescript version 3.9.0 to 4.3.4, my Windows machine starts to report import/no-unresolved errors for two imports. Other imports work fine. All imports work fine on Mac and Linux.
import { defineConfig, globalIgnores } from "eslint/config";
import typescriptEslint from "typescript-eslint";
Repro repo: https://github.com/Archinowsk/eslint-import-resolver-typescript-bug-reproduction
- Install
yarn and run yarn install (correct yarn version included in repo)
- Run
yarn eslint
- This will produce two
import/no-unresolved errors, for eslint/config and typescript-eslint.
- The same error will appear in
eslint.config.js and index.ts to demonstrate it appears outside ESLint config file.
Environment:
- OS: Windows 11
- NodeJS: 22.11.0
- Yarn: 4.9.1
After updating
eslint-import-resolver-typescriptversion3.9.0to4.3.4, my Windows machine starts to reportimport/no-unresolvederrors for two imports. Other imports work fine. All imports work fine on Mac and Linux.Repro repo: https://github.com/Archinowsk/eslint-import-resolver-typescript-bug-reproduction
yarnand runyarn install(correct yarn version included in repo)yarn eslintimport/no-unresolvederrors, foreslint/configandtypescript-eslint.eslint.config.jsandindex.tsto demonstrate it appears outside ESLint config file.Environment: