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

# gofumpt

> gofumpt is a linter for Go

[**gofumpt**](https://pkg.go.dev/mvdan.cc/gofumpt) is a linter for Go.

You can enable the gofumpt linter with:

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

## Auto Enabling

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

## Links

* [gofumpt site](https://pkg.go.dev/mvdan.cc/gofumpt)
* gofumpt Trunk Code Quality [integration source](https://github.com/trunk-io/plugins/tree/main/linters/gofumpt)
* Trunk Code Quality's [open source plugins repo](https://github.com/trunk-io/plugins/tree/main)
