go-linter-configuration
Installation
SKILL.md
Go Linter Configuration Skill
Configure and troubleshoot golangci-lint for Go projects. This skill helps handle import resolution issues, type-checking problems, and optimize configurations for both local and CI environments.
Installation
Install golangci-lint:
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
Or use the official installation script:
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.59.1