Closed
Description
In my project, using yarn 3, Node v16.13.1, Eslint 7.23.0 and the plugin's latest version.
The configuration runs perfecly on WSL2 and MacOS M1 and via command line yarn lint
On windows I get this error in the first character of each file only on windows.
Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser.
The file does not match your project config: src\App.tsx.
The file must be included in at least one of the projects provided.eslint
I have already followed all the rules described in settings help.
Monorepo description
This monorepo has 3 project:
- server
- client
- common
Each one has its own .eslint file with specific rules, common rules are in a root .eslint file.
Repro repository
Here you can find a clonable repostory https://github.com/webartoli/repro-eslint-vscode-plugin.
PS: Please remember to select the workspace typescript version on vscode as described in yarn docs
Actual
eslint does not work with vscode on windows 10 or windows 11
Expected
eslint works like Linux or MacOS