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

# sql-formatter

> sql-formatter is a linter for SQL

[**sql-formatter**](https://github.com/sql-formatter-org/sql-formatter#readme) is a linter for SQL.

You can enable the sql-formatter linter with:

```shell theme={null}
trunk check enable sql-formatter
```

## Auto Enabling

sql-formatter will never be auto-enabled. It must be enabled manually.

## Links

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