# codespell

[**codespell**](https://github.com/codespell-project/codespell#readme) is a linter for All.

You can enable the codespell linter with:

```shell
trunk check enable codespell
```

![codespell example output](https://577236045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F61Ep9MrYBkJa0Yq3zS1s%2Fuploads%2Fgit-blob-3544e1d0a658c1d827350c4fbf8d74f6522b5d8d%2Fcodespell.gif?alt=media)

## Auto Enabling

codespell will be auto-enabled if a `.codespellrc` config file is present.

## Settings

codespell supports the following config files:

* `.codespellrc`

You can move these files to `.trunk/configs` and `trunk check` will still find them. See [Moving Linters](https://docs.trunk.io/code-quality/overview/configure-linters#moving-linters) for more info.

## Links

* [codespell site](https://github.com/codespell-project/codespell#readme)
* codespell Trunk Code Quality [integration source](https://github.com/trunk-io/plugins/tree/main/linters/codespell)
* Trunk Code Quality's [open source plugins repo](https://github.com/trunk-io/plugins/tree/main)
