> ## 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.

# sqlfmt

> sqlfmt is a linter for SQL

[**sqlfmt**](https://github.com/tconbeer/sqlfmt#readme) is a linter for SQL.

You can enable the sqlfmt linter with:

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

## Auto Enabling

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

## Links

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