Skip to content

Deprecate the term "blacklist" from lintsΒ #7582

Closed
@rpbeltran

Description

@rpbeltran

Many companies and open source projects have been transitioning phrases like "blacklist/whitelist" into "blocklist/allowlist" or similar. There is also precedent for this within Rust itself as in these changes in Rust Bindgen: rust-lang/rust-bindgen#1812.

With that in mind, the blacklisted_names lint seems like it could stand to be renamed to blocklisted_name. I'm not very familiar with the current strategy used for deprecation within this project, but it seems like introducing blocklisted_name as a synonym and modifying the warning messages to use this name would be a good approach for now that preserves backwards compatibility.

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