Require action to bypass pub publish
warnings
#2535
Labels
type-enhancement
A request for a change that isn't a bug
pub publish
warnings
#2535
To bypass a warning in
pub publish
we should perhaps require a flag likepub publish --by-pass-<name>-warning
.It is very plausible that not all warnings warrants a
--by-pass-<name>-warning
flag.Perhaps the authors warning below is a good example of a warning that doesn't require explicit by-passing.
But publishing a package that contains generated dartdoc contents should probably require
--by-pass-dartdoc-warning
flag. This is almost always harmful, as it takes up a lot of space.Example
The text was updated successfully, but these errors were encountered: