> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trunk.io/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/WAR0qJ1WO0rtUlqz/assets/code-quality/overview/linters/supported/codespell.gif?s=9e5bee8fef8e24faaf0c9d830045fb30" alt="codespell example output" width="1000" height="600" data-path="assets/code-quality/overview/linters/supported/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)
