Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@cspell/dict-en-gb
Advanced tools
@cspell/dict-en-gb is a dictionary package for the CSpell spell checker that provides British English word lists. It is used to enhance the spell-checking capabilities of CSpell by adding support for British English.
Adding British English Dictionary to CSpell
This feature allows you to add the British English dictionary to your CSpell configuration. By including 'en-gb' in the dictionaries array, CSpell will use the British English word list for spell checking.
{
"dictionaries": ["en-gb"]
}
Installation
This command installs the @cspell/dict-en-gb package as a development dependency in your project. This is the first step to enable British English spell checking in your project.
npm install -D @cspell/dict-en-gb
Configuration in cspell.json
This is an example of a cspell.json configuration file that sets the language to British English and includes the British English dictionary. This configuration ensures that CSpell uses the British English word list for spell checking.
{
"version": "0.2",
"language": "en-gb",
"dictionaries": ["en-gb"]
}
cspell-dict-pt-br provides a Brazilian Portuguese dictionary for CSpell. It is similar to @cspell/dict-en-gb but focuses on Brazilian Portuguese word lists.
@cspell/dict-fr-fr provides a French dictionary for CSpell. It is similar to @cspell/dict-en-gb but focuses on French word lists.
British English 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-en-gb
cspell link add @cspell/dict-en-gb
cspell link remove @cspell/dict-en-gb
The cspell-ext.json
file in this package should be added to the import section in your cspell.json file.
{
// …
"import": ["@cspell/dict-en-gb/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
Please add any words to src/additional_words.txt by making a pull request.
GPL-3.0-or-later
Some packages may have other licenses included.
Brought to you by Street Side Software
FAQs
British English dictionary for cspell.
The npm package @cspell/dict-en-gb receives a total of 602,413 weekly downloads. As such, @cspell/dict-en-gb popularity was classified as popular.
We found that @cspell/dict-en-gb demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.