cspell

cspell is a linter for All.

You can enable the cspell linter with:

trunk check enable cspell

Auto Enabling

cspell will never be auto-enabled. It must be enabled manually.

Settings

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 Linter Configs for more info. Trunk check provides a default cspell.yaml if your project does not already have one.

Last updated