People Names dictionary for cspell.
This is a pre-built dictionary for use with CSpell.
This dictionary is an attempt at a collection of people names. It is not definitive. Contributions that add names are welcome.
Due to the sensitive nature of names it is important to be clear about what is included in this dictionary. The idea here is to include names from all kinds of backgrounds and cultures, not just English or European (I call this out because this document was originally written in English including the examples below).
-
Each entry is part of a person's name, not the entire time. For example,
John Smith
would not appear in the list, butJohn
andSmith
are ok. -
No distinction is made between first, middle, last names. Each one can be an entry in the list.
-
All cultural and gender variants of a name are allowed.
-
It is expected that a Google search of the name should return results confirming that it is a name.
-
A name should not be a slur, disparaging, or derogatory term. For example,
Shithead
is not allowed.Exceptions: Names that were once common, but have become slang
Dick
is allowed because it is a common derivate ofRichard
.Fanny
is allowed because it is a common derivate ofFrances
.
Please open a pull to add names to the src/names.txt
file.
- Add new names to the end of the file.
- One name per line.
Note: src/names.txt
will get sorted as part of the release process.
Names can be removed if they:
- Are actually misspelled. (
Johhn
would be replaced withJohn
) - Are not a person's name.
- Moderators reserve the right to refuse changes and additions.
Names will not be removed just because someone finds them offensive.
Global Install and add to CSpell global settings.
npm install -g @cspell/dict-people-names
cspell link add @cspell/dict-people-names
cspell link remove @cspell/dict-people-names
Manual installation is useful if you want to include this dictionary as part of your CI/CD lint process.
npm i @cspell/dict-people-names
The cspell-ext.json
file in this package should be added to the import section in your cspell.json
file.
{
// …
"import": ["@cspell/dict-people-names/cspell-ext.json"],
// …
}
See: How to Create a New Dictionary
MIT
Some packages may have other licenses included.
Brought to you by Street Side Software