Add blacklist and whitelist to flagWords for all Contrib CI
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3524087. -->
Reported by: [jonathan1055](https://www.drupal.org/user/92645)
Related to !357
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>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 <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/drupal/issues/3470895" title="Status: Closed (fixed)">#3470895: Add blacklist and whitelist to the list of flagwords</a></span></p>
<p>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.</p>
<p>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.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<ul>
<li>Add blacklist and whitelist and derivatives to the flagWords in both the internal and contrib .cspell.json</li>
<li>Add suggested replacements (denylist, blocklist, allowlist) which cspell will display when it finds a blocked word.</li>
<li>Show an advisory message if the project's own config file does not contain the flagwords</li>
</ul>
> Related issue: [Issue #2993575](https://www.drupal.org/node/2993575)
> Related issue: [Issue #3470895](https://www.drupal.org/node/3470895)
issue