Skip to content

Add a --quiet-upstream flag #672

@nex3

Description

@nex3

Most users only have the capacity to fix deprecation warnings in their own code, but they may end up using libraries that have their own deprecation warnings. We should add a --quiet-upstream flag (and similar flags for the Dart and JS APIs) to silence deprecation warnings emitted by upstream libraries (that is, libraries loaded through load paths and package: URLs).

I think this flag should probably not silence warnings due to @warn, since libraries frequently use those to indicate that downstream users are using the library in an invalid or deprecated way.

Metadata

Metadata

Assignees

Labels

CLIIssues about the command-line toolsenhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions