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
Before You File a Documentation Request Please Confirm You Have Done The Following...
- I have looked for existingopen or closed documentation requests that match my proposal.
- I haveread the FAQ and my problem is not listed.
Suggested Changes
Project service has been in the wild for a couple of weeks now and we're starting to see the common ways it's tripping folks up.
The most common question I've seen come up is around the new"Parsing error: was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject". We should explain how to fix this, such as:
- Cases where the file that's inside a directory with a
tsconfig.json
might not be in there: e.g.https://github.com/JoshuaKGoldberg/repros/tree/tseslint-project-service-non-included-nearest-tsconfig- ...and when to switch to
parserOptions.project
for now, which that case might be an example of.
- ...and when to switch to
- Cases where the file should be added to the default project
Affected URL(s)
https://typescript-eslint.io/troubleshooting/typed-linting
💖