# ktlint

[**ktlint**](https://github.com/pinterest/ktlint#readme) is a linter for Kotlin.

You can enable the ktlint linter with:

```shell
trunk check enable ktlint
```

## Auto Enabling

ktlint will be auto-enabled if any *Kotlin* files are present.

## Links

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