Skip to content

Add option to set all lints to allow/warn/deny on command line #1340

@casey

Description

@casey

I run clippy from the command line, and it would be very nice to be able to set all lints to deny and then whitelist lints by setting them to warn or allow as necessary:

# set all lints to deny, but allow bad_bit_mask clippy --default deny --allow bad_bit_mask 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions