z-go-lint

Installation
SKILL.md

Go Lint

Commands

golangci-lint run ./...            # all configured linters
golangci-lint run --fix ./...      # auto-fix where possible
golangci-lint fmt ./...            # format (v2+)
golangci-lint run --enable-only govet ./...
golangci-lint linters              # list all available linters
golangci-lint migrate              # convert v1 config to v2

Use the project's own target when it exists: make lint / task lint.

.golangci.yml essentials

v2 config declares a schema version, replaces disable-all: true with linters.default: none, and splits formatters (gofmt, gofumpt, goimports, gci) into their own top-level section:

Installs
14
First Seen
Jul 2, 2026