@bit-ocean/cspell v0.0.53
@bit-ocean/cspell
Universal CSpell dictionary configuration.
We use CSpell for code spell checking. This package provides some universal dictionaries for all our projects.
Installation
pnpm add -D cspell @bit-ocean/cspellConfiguration
Create a .cspell.json file in the root of your project and add the following:
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"version": "0.2",
"language": "en",
"dictionaries": ["custom-words"],
"dictionaryDefinitions": [
{
"name": "custom-words",
"path": ".cspell.txt",
"addWords": true
}
],
"import": ["@bit-ocean/cspell"]
}Add cspell script to your package.json:
{
"scripts": {
"cspell:sort:dicts": "pnpm bo cspell:sort:dicts",
"cspell:check": "cspell --no-progress --show-suggestion --show-context --cache **"
}
}License
MIT License © 2024 Bit Ocean
9 months ago
9 months ago
9 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago