pre-commit-golang icon indicating copy to clipboard operation
pre-commit-golang copied to clipboard

Golang pre-commit hooks for http://pre-commit.com/

Results 5 pre-commit-golang issues
Sort by recently updated
recently updated
newest added

Running `ruleguard -rules lint.go ./...` completes with no errors. However, when running the pre-commit hook below, I get many errors about undefined variables and types, and the execution fails. ```...

The `staticcheck` command provides options to pass in flags like `-tags` (to specify which build flags to use) - more examples here: https://staticcheck.io/docs/running-staticcheck/cli/ So it's possible to run: ``` staticcheck...