stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

build: add cspell ESLint plugin for spellchecking

Open Planeshifter opened this issue 1 year ago • 0 comments

Description

What is the purpose of this pull request?

This pull request:

  • adds the @cspell/eslint-plugin for 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.


@stdlib-js/reviewers

Planeshifter avatar May 05 '24 21:05 Planeshifter