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. The core issue is #3470895: Add blacklist and whitelist to the list of flagwords
For Contrib, the default .cspell.json file now includes these flagwords and variants, and also provides suggested replacement words which will be shown in the log if a flagged word is used.
As the default value for the CSpell job is to allow failure, the overall status of pipelines should not be affected by this change, unless module maintainers have overridden the value.
In order to fix any issues reported:
- Replace instances of those words with the suggested ones where possible.
- If it cannot be easily replaced, you can add
// cspell:ignore blacklistor// cspell:ignore whitelistwhere needed in the code. The CSpell documentaion page has more details.
If the project has its own custom .cspell.json file then no changes will be made to the configuration, and any usage of the new flagged words will not be detected by CSpell. However, an advisory message will be shown if the custom config does not contain all of the default flagwords.