The CONTRIBUTING.md file has been updated with a new
"Spell Checking" subsection under the "Pre-commit Hooks" section.
Added comprehensive spell checking documentation that includes:
.cspell.json dictionary
CHANGELOG.md is
excluded from spell checkingThe summary list in the "Pre-commit Hooks" section now includes:
### Spell Checking
The repository uses [cspell](https://cspell.org/) to check spelling in markdown files. The spell checker runs automatically as a pre-commit hook and will fail commits if spelling errors are detected.
**How it works:**
- Checks all markdown files (`.md`) during commits
- Uses the `.cspell.json` configuration file at the repository root
- Fails commits when spelling errors are found
- Provides suggestions for misspelled words in error messages
**Adding new terms to the dictionary:**
If you encounter a false positive (a valid word that cspell flags as misspelled), you can add it to the dictionary by editing `.cspell.json` and adding the term to the `words` array:
```json
{
"words": [
"existing-terms",
"your-new-term"
]
}
Verifying spell checking:
pre-commit run cspell --all-filesCHANGELOG.md is excluded from spell checking
### Spell Checking Verification
All existing markdown files were verified to pass spell checking:
```bash
$ pre-commit run cspell --all-files
Result: All markdown files pass spell checking with no false positives (after adding necessary terms to dictionary during previous tasks).
.cspell.jsonpre-commit run cspell --all-filesCONTRIBUTING.md with spell checking
section