gokart

gokart is a linter for Go.

You can enable the gokart linter with:

trunk check enable gokart

Auto Enabling

gokart will be auto-enabled if a analyzers.yml config file is present.

Settings

gokart supports the following config files:

  • analyzers.yml

You can move these files to .trunk/configs and trunk check will still find them. See Moving Linters for more info. Trunk Code Quality provides a default analyzers.yml if your project does not already have one.

Last updated