stdlib
stdlib copied to clipboard
build: add cspell ESLint plugin for spellchecking
Description
What is the purpose of this pull request?
This pull request:
- adds the
@cspell/eslint-pluginfor spellchecking support via ESLint.
The spellchecking is configured to only run on comments and strings as CSpell generates way too many false positives for variable identifiers; the plugin is configured further via a bunch of regular expressions that additionally limit what is scanned to e.g. ignore LaTeX equations, links or parts of example code.
Related Issues
Does this pull request have any related issues?
No.
Questions
Any questions for reviewers of this pull request?
No.
Other
Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.
No.
Checklist
Please ensure the following tasks are completed before submitting this pull request.
- [x] Read, understood, and followed the contributing guidelines.
@stdlib-js/reviewers