-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
documentationDocumentation ("docs") that needs adding/updatingDocumentation ("docs") that needs adding/updatinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.team assignedA member of the typescript-eslint team should work on this.A member of the typescript-eslint team should work on this.
Description
Before You File a Documentation Request Please Confirm You Have Done The Following...
- I have looked for existing open or closed documentation requests that match my proposal.
- I have read 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
💖
Metadata
Metadata
Assignees
Labels
documentationDocumentation ("docs") that needs adding/updatingDocumentation ("docs") that needs adding/updatinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.team assignedA member of the typescript-eslint team should work on this.A member of the typescript-eslint team should work on this.