@cspell/parser-typescript-tree-sitter-wasm
v1.1.0
Published
A TypeScript parser plugin for cspell using tree-sitter compiled to WebAssembly (no native build step).
Downloads
295
Maintainers
Readme
@cspell/parser-typescript-tree-sitter-wasm
A full-fledged JavaScript, JSX, TypeScript, and TSX 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.
It runs on WebAssembly, so it installs without a native build step.
@cspell/parser-typescript uses this package.
Install
npm install --save-dev @cspell/parser-typescript-tree-sitter-wasmUsage
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
