Skip to content

Allow a direct "warnings as errors" flag #2846

Open
@jcollins-g

Description

@jcollins-g

This flag should cause dartdoc to treat all warnings as errors for the purposes of returning an exit code for CI.

Some questions:

  1. Do we want to still internally track as warnings vs errors and change the exit code only? Or simply convert to errors.
  2. Do we want to allow packages to individually opt out via dartdoc_options.yaml, and how does the flag interact with the other warning control flags?

@mit-mit

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work ontype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions