Typescript eslint tsconfig resolution error in monorepo

Viewed 8357

I have the following project structure:

/root
  /serviceA 
  /serviceB
  /serviceC 
  /serviceD 

Not all of the services are typescript / node based, so I want to avoid adding tsconfig into the root. Each service is setup as a complete unit with its own installation of eslint, ts, and own configuration.

Any ts service I open VScode shows the following error:

Parsing error: Cannot read file '/users/{me}/dev/{root}/tsconfig.json'.

This is correct, as there is no such file, so how do I force vscode & eslint to use the individual services configuration files?

2 Answers
Related