Skip to content

Make useSourceOfProjectReferenceRedirect available from CLI #757

@ajafff

Description

@ajafff

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions