Skip to content

treat validation issues as errors - but not all warnings as errors #2199

Closed
@RebeccaStevens

Description

@RebeccaStevens

Search Terms

  • treatWarningsAsErrors
  • validation errors

Problem

--treatWarningsAsErrors is too general. I want to treat validation issues as errors, but I don't want all warnings to be errors.

Example of a warning I want to keep as a warning:

warning You are running with an unsupported TypeScript version! If TypeDoc crashes, this is why. TypeDoc supports 4.6, 4.7, 4.8, 4.9

Suggested Solution

Add a new config and cli option to do this.
Maybe something like: validationWarningsAsError or requireValidation

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueEasier issue for first time contributorshelp wantedContributions are especially encouraged

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions