Skip to contentSkip to conversation

scripts/spelling: Recommend blocklist/allowlist instead of blacklist/whitelist

PATCH Superseded SeongJae Park 1 participant 2 messages Jun 9, 2020 Stable branch

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts/spelling: Recommend blocklist/allowlist instead of blacklist/whitelist

From: SeongJae Park <[email protected]>

This commit recommends the patches to replace 'blacklist' and 'whitelist' with the 'blocklist' and 'allowlist', because the new suggestions are incontrovertible, doesn't make people hurt, and more self-explanatory.

cr https://code.amazon.com/reviews/CR-27247203

---
 scripts/spelling.txt | 2 ++
 1 file changed, 2 insertions(+)
scripts/spelling.txt +2 -0
index d9cd24cf0d40..ea785568d8b8 100644
@@ -230,6 +230,7 @@ beter||better
 betweeen||between
 bianries||binaries
 bitmast||bitmask
+blacklist||blocklist
 boardcast||broadcast
 borad||board
 boundry||boundary
@@ -1495,6 +1496,7 @@ whcih||which
 whenver||whenever
 wheter||whether
 whe||when
+whitelist||allowlist
 wierd||weird
 wiil||will
 wirte||write
Signature · 1 line
2.17.1
#1 lore raw
Quoted 10 lines · On Tue, 9 Jun 2020 14:18:43 +0200 SeongJae Park <[email protected]> wrote:

From: SeongJae Park <[email protected]>

This commit recommends the patches to replace 'blacklist' and 'whitelist' with the 'blocklist' and 'allowlist', because the new suggestions are incontrovertible, doesn't make people hurt, and more self-explanatory.

cr https://code.amazon.com/reviews/CR-27247203

Oops, sorry for leaving this unnecessary text. Will post the 2nd version soon, please ignore this patch.

Thanks,
SeongJae Park

Quoted 27 lines
---
 scripts/spelling.txt | 2 ++
 1 file changed, 2 insertions(+)
scripts/spelling.txt +2 -0
index d9cd24cf0d40..ea785568d8b8 100644
@@ -230,6 +230,7 @@ beter||better
 betweeen||between
 bianries||binaries
 bitmast||bitmask
+blacklist||blocklist
 boardcast||broadcast
 borad||board
 boundry||boundary
@@ -1495,6 +1496,7 @@ whcih||which
 whenver||whenever
 wheter||whether
 whe||when
+whitelist||allowlist
 wierd||weird
 wiil||will
 wirte||write
Signature · 1 line
2.17.1