Add blacklist and whitelist to flagWords for all Contrib CI

Issue information

From user: jonathan1055

Related to !357 (merged)

Contribution record

Fork management

Problem/Motivation

Part of the Core initiative to removing usage of "blacklist" and "whitelist" is to add these words the to cspell 'flagwords' so that once removed they are not added back - see #3470895: Add blacklist and whitelist to the list of flagwords

Contrib can (and should I believe) also make these changes to add the four new words to the default assets/.cspell.json flagWords whenever we decide to.

Maybe there should be some announcement or change record, or just a post on Slack pointing to this issue, as this will make the cspell jobs fail if the blacklist/whitelist words are in use.

Proposed resolution

  • Add blacklist and whitelist and derivatives to the flagWords in both the internal and contrib .cspell.json
  • Add suggested replacements (denylist, blocklist, allowlist) which cspell will display when it finds a blocked word.
  • Show an advisory message if the project's own config file does not contain the flagwords
Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information