dotnet / dotnet/docfx

Feature Request: New build arg so --warningsAsErrors shows multiple warnings

Open
#7,673 1 comment 0 reactions 0 assignees View on GitHub
fundamental
Dominant language
C#
Stars
4.4k
Forks
890
Avg merge
2h 11m
Merged PRs (30d)
10

Description

Currently, if one turns on the `--warningsAsErrors` build flag, then the first warning log the build comes across will be turned into an error, and the build will stop. We're trying to use `--warningsAsErrors` for build validation, but if one happens to make several invalid link mistakes, only one gets reported as error during the build at a time. We'd like to be able to show all the issues that occurred during build so they can all be addressed at once.

Something like `--showAllErrors`? Or `--stopOnError false`?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.