Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@cspell/dict-typescript
Advanced tools
@cspell/dict-typescript is a dictionary extension for the CSpell spell checker that provides TypeScript-specific terms and keywords. It helps developers ensure that their TypeScript code is free from spelling errors by recognizing TypeScript-specific terminology.
TypeScript-specific dictionary
This feature allows you to include TypeScript-specific terms in your CSpell configuration, ensuring that TypeScript keywords and common terms are not flagged as spelling errors.
{
"dictionaries": ["typescript"]
}
Integration with CSpell
This feature demonstrates how to integrate the TypeScript dictionary with the CSpell spell checker, including setting the language and ignoring certain paths.
{
"language": "en",
"dictionaries": ["typescript"],
"ignorePaths": ["node_modules/**"]
}
@cspell/dict-python is a dictionary extension for the CSpell spell checker that provides Python-specific terms and keywords. Similar to @cspell/dict-typescript, it helps developers ensure that their Python code is free from spelling errors by recognizing Python-specific terminology.
@cspell/dict-java is a dictionary extension for the CSpell spell checker that provides Java-specific terms and keywords. It serves a similar purpose to @cspell/dict-typescript but is tailored for Java developers.
@cspell/dict-html is a dictionary extension for the CSpell spell checker that provides HTML-specific terms and keywords. It is useful for web developers who want to ensure their HTML code is free from spelling errors.
TypeScript and JavaScript dictionary for cspell.
This is a pre-built dictionary for use with cspell.
Tool | Version |
---|---|
cspell | >= 6 |
Code Spell Checker - Visual Studio Code | >= 2 |
Global Install and add to cspell global settings.
npm install -g @cspell/dict-typescript
cspell link add @cspell/dict-typescript
cspell link remove @cspell/dict-typescript
The cspell-ext.json
file in this package should be added to the import section in your cspell.json file.
{
// …
"import": ["@cspell/dict-typescript/cspell-ext.json"],
// …
}
Building is only necessary if you want to modify the contents of the dictionary. Note: Building will take a few minutes for large files.
npm run build
MIT
Some packages may have other licenses included.
FAQs
TypeScript and JavaScript dictionary for cspell.
The npm package @cspell/dict-typescript receives a total of 696,844 weekly downloads. As such, @cspell/dict-typescript popularity was classified as popular.
We found that @cspell/dict-typescript demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.