Skip to content

Improve option naming #942

Closed
Closed
@sindresorhus

Description

@sindresorhus

I don't think we should use whitelist/blacklist type naming. They have negative connotations for some.

whitelist => allowList
blacklist => denyList

This applies to:

  • blacklist option in no-keyword-prefix
  • whitelist option in prevent-abbreviations
  • extendDefaultWhitelist option in prevent-abbreviations

I'm not really interested in discussing the merits of this. It's the right thing to do.

https://thenextweb.com/dd/2020/07/13/linux-kernel-will-no-longer-use-terms-blacklist-and-slave/

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions