> ## Documentation Index
> Fetch the complete documentation index at: https://trunk-4cab4936-sam-gutentag-changelog-merge-queue-stacked-p.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# codespell

> Codespell fixes common misspellings in text files. It's designed primarily to check misspelled words in source code.

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

You can enable the codespell linter with:

```shell theme={null}
trunk check enable codespell
```

<Frame caption="codespell example output">
  <img src="https://mintcdn.com/trunk-4cab4936-sam-gutentag-changelog-merge-queue-stacked-p/nr1u_Vl6cx4hV8Yf/assets/codespell.gif?s=ee2d30d63fbfe76a6c7ca5f48e4b10f3" alt="codespell example output" width="1000" height="600" data-path="assets/codespell.gif" />
</Frame>

## 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](../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)
