# shfmt

[**shfmt**](https://github.com/mvdan/sh#readme) is a linter for Bash.

You can enable the shfmt linter with:

```shell
trunk check enable shfmt
```

## Auto Enabling

shfmt will be auto-enabled if any *Shell* files are present.

## Links

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