Skip to content

abortOnError enhancement: get *all* errors, *then* abort #168

Open
@mreuvers

Description

@mreuvers

Hello there,

Currently the option abortOnError: true aborts on the first error it encounters when checking a typescript file. When set to false it doesn't bail out at all (and often succeeds completely, even though typescript reported several semantic errors in multiple files e.g.).

I'd like an in-between option, that checks all typescript files, gathers the errors reported, and if there is any error at all (or more) spits it all out at once at the end - and aborts.

Currently the abortOnError: true is painful to work with with (many) errors in large projects, and not aborting at all, is just wrong here as the resulting rollup bundle will be broken.

Would something like this be possible? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: featureNew feature or requestproblem: staleIssue has not been responded to in some time

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions