Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make useSourceOfProjectReferenceRedirect available from CLI #757

Open
ajafff opened this issue Feb 7, 2021 · 0 comments
Open

Make useSourceOfProjectReferenceRedirect available from CLI #757

ajafff opened this issue Feb 7, 2021 · 0 comments

Comments

@ajafff
Copy link
Member

ajafff commented Feb 7, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant