@cspell/parser-javascript
v1.1.1
Published
A JavaScript parser plugin for cspell.
Maintainers
Readme
@cspell/parser-javascript
A full-fledged JavaScript and JSX parser for cspell. It gives you control over which parts of your code get spell checked, from comments and strings to function and variable names. It also lets you skip module imports and other code that isn't under your control.
This plugin leverages the JavaScript parsers exported from
@cspell/parser-typescript.
Install
npm install --save-dev @cspell/parser-javascriptUsage
The quickest way to get started is to import the recommended settings, which registers the plugin and selects its parsers for every supported file type:
cspell.config.jsonc
