go-lint

Installation
SKILL.md

Go Lint

Run gofmt, goimports, and golangci-lint on every commit. The formatters fix style automatically; the linter catches the bugs the compiler doesn't.

For the comprehensive reference, see references/linting.md. The bundled config lives at assets/golangci.yml and the setup script at scripts/setup_golangci_lint.sh.

Setup script

Drop the bundled config into a project and (optionally) install a pre-commit hook:

scripts/setup_golangci_lint.sh /path/to/project
Related skills
Installs
2
Repository
marsolab/skills
First Seen
2 days ago