Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Description
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I haveread the FAQ and my problem is not listed.
Repro
https://github.com/WesCossick/demonstrate-typescript-eslint-bug
Expected Result
For the@typescript-eslint/parser
package to recognize that theproject-to-lint/
directory is using Yarn 2 with Plug'n'Play.
Actual Result
The@typescript-eslint/parser
package is assuming that, since it is located in a directory that's using Yarn 1, that theproject-to-lint/
directory is also using Yarn 1. Therefore, it can't seem to find any imports, because presumably, it's looking for anode_modules/
directory, which doesn't exist.
Additional Info
UsingNode.js API, which doesn't offer--debug
flag or equivalent option.
Versions
package | version |
---|---|
@typescript-eslint/parser | 4.22.0 |
TypeScript | 4.2.4 |
ESLint | 7.24.0 |
node | 14.16.1 |