-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Unable to parse both tsx and ts #958
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
In v2.1.1-alpha.7, |
Ahh. Just to confirm, are you saying that if you run The problems occur when you add a new file, and then you see a parsing error for that file in vscode? |
Yes.
Yes. |
Ah ha! Sure, that makes sense. The problem is that we don't expand the program as the new file is created. Thanks for reporting! |
Moving this out of #890 so that we can have a thread without spamming the thread, as I think I'll need to gather more information.
Comment by @ahuglajbclajep:
*.ts
is parsed, but*.tsx
,*.js
, and*.jsx
are not parsed.In v2.1.0 these were parsed by restarting VSCode as in #864, but in 2.1.1-alpha.4 it always fails (even from the command line).
**tsconfig.json**
**.eslintrc**
**Example file paths that are throwing errors**
src/foo.tsx
The file does not match your project config: src/foo.tsx.
The file must be included in at least one of the projects provided.
src/bar.js
The file does not match your project config: src/bar.js.
The file must be included in at least one of the projects provided.
src/baz.jsx
The file does not match your project config: src/baz.jsx.
The file must be included in at least one of the projects provided.
Versions
@typescript-eslint/eslint-plugin
2.1.1-alpha.4
@typescript-eslint/parser
2.1.1-alpha.4
TypeScript
3.5.3
node
10.16.3
Visual Studio Code
1.38.0
The text was updated successfully, but these errors were encountered: