title | description | layout | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Trunk | How to run cspell |
CSpell is a linter for identifying and fixing spelling errors in source code, documentation, and configuration files, enhancing overall project quality. |
|
cspell is a linter for All.
You can enable the cspell linter with:
trunk check enable cspell
cspell will never be auto-enabled. It must be enabled manually.
cspell supports the following config files:
.cspell.json
cspell.json
.cSpell.json
cSpell.json
cspell.config.js
cspell.config.cjs
cspell.config.json
cspell.config.yaml
cspell.config.yml
cspell.yaml
cspell.yml
You can move these files to .trunk/configs
and trunk check
will still find them. See Moving Linters for more info. Trunk Code Quality provides a default cspell.yaml
if your project does not already have one.
- cspell site
- cspell Trunk Code Quality integration source
- Trunk Code Quality's open source plugins repo