Skip to content

proposal: cmd/vet: add mechanism to silence false positives #17058

Closed
@minux

Description

@minux

@josharian added an internal whitelist feature for vetting the standard
library. I think such a whitelisting feature is also useful for outside
packages.

(If cmd/vet could load project specific plugins, then this feature might
be less useful, but not all projects need custom vet checkers, so it
still makes sense to provide a simple whitelisting feature built in.)

Such a feature could be built upon @josharian's existing whitelist
feature (cmd/vet/all).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions