Skip to content

Commit

Permalink
Add renaming advice based on Linux kernel spelling (codespell-project…
Browse files Browse the repository at this point in the history
…#1554)

Recommend the renaming of whitelist/blacklist to allowlist/blocklist as
per kernel patch:
https://lore.kernel.org/lkml/[email protected]/

“[T]he new suggestions are incontrovertible, doesn't make people hurt,
 and more self-explanatory.”
  • Loading branch information
hadess authored Jun 10, 2020
1 parent 9a180c1 commit 98ab0fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions codespell_lib/data/dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3556,7 +3556,7 @@ bizzare->bizarre
bject->object
bjects->objects
blackslashes->backslashes
blaclist->blacklist
blaclist->blocklist
blaim->blame
blaimed->blamed
blak->black, blank,
Expand Down Expand Up @@ -28039,10 +28039,10 @@ whicht->which
whihc->which
whihch->which
whilest->whilst
whiltelist->whitelist
whiltelisted->whitelisted
whiltelisting->whitelisting
whiltelists->whitelists
whiltelist->allowlist
whiltelisted->allowlisted
whiltelisting->allowlisting
whiltelists->allowlists
whilw->while
whioch->which
whiped->wiped
Expand Down
2 changes: 2 additions & 0 deletions codespell_lib/data/dictionary_rare.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ automatized->automated
automatizes->automates
backword->backward
backwords->backwards
blacklist->blocklist
bloc->block
blocs->blocks
bodgy->body
Expand Down Expand Up @@ -134,6 +135,7 @@ wee->we
whats->what's
whet->when, what, wet,
whiling->while
whitelist->allowlist
wight->weight, white, right, write,
wights->weights, whites, rights, writes,
wit->with
Expand Down

0 comments on commit 98ab0fa

Please sign in to comment.