Skip to content

Feature request: display warning and error count like eslint. #2581

@bladerunner2020

Description

@bladerunner2020

Problem

TypeDoc doesn't show the number of warnings and errors (though it does calculate them!). If a project has a lot of warnings (as it is in our case), it would be very convenient to see the number of warnings to ensure that the count goes down over time and not up.

Suggested Solution

I suggest displaying the warning and error count like ESLint does. Possible outputs:

  • if there are only warnings: [warning] Found 0, error(s), 70 warning(s).
  • if there are errors: [error] Found 1, error(s), 70 warning(s).

Considering that TypeDoc already counts errors and warnings, it should only take a couple of lines to add this feature.

I don't mind to make a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions