Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 749 Bytes

dev-notes.md

File metadata and controls

31 lines (21 loc) · 749 Bytes

Install pre-commit hook

This currently runs golangci-lint and go test.

./git_hooks_pre-commit.sh link

MacOS Install

brew install golangci-lint
golangci-lint run
{
    "go.lintTool": "golangci-lint",
}

Note that with the lintTool set to golangci-lint, the Go VS Code extension will go install golangci-lint, despite the fact that this is explicitly recommended against. ¯_(ツ)_/¯