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. ¯_(ツ)_/¯