Currently you always need to build referenced projects before linting any dependent project. In the language server this is not required because it uses the source instead of the declaration of project references.
There might be use cases where you'd want the same behavior when linting from CLI. This proposes adding a CLI parameter that is passed through to ProjectHost. ProjectHost#useSourceOfProjectReferenceRedirect would then simply return true if the option is enabled and TypeScript does the rest of the magic.
Currently you always need to build referenced projects before linting any dependent project. In the language server this is not required because it uses the source instead of the declaration of project references.
There might be use cases where you'd want the same behavior when linting from CLI. This proposes adding a CLI parameter that is passed through to ProjectHost.
ProjectHost#useSourceOfProjectReferenceRedirect
would then simply return true if the option is enabled and TypeScript does the rest of the magic.Requires #753