-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
My apologies for not using an issue template, but none of them seemed to match a proposed documentation change.
There is an existing closed issue for the same problem (#2794), here is a summary:
In the docs on linting with type information, there's a section that specifically addresses I get errors telling me "The file must be included in at least one of the projects provided".
The solution that is listed there that would apply to my project is:
Use ESLint's overrides configuration to configure the file to not be parsed with type information.
However, it is not clear what overrides to pass to disable parsing with type information.
The previous issue expired while awaiting response after feedback from @bradzacher:
It's hard to provide exact docs for this as everyone's setups vary wildly.
I agree with this, but feel that more specific information can still be helpful.
I ran into the same problem today and managed to solve it by reading more docs and issues and experimenting via trial and error. A few extra notes in the documentation would've saved me a lot of time, though.
I've included them in this commit and would like to propose it as a PR if this issue gets marked as 'accepting prs'.