pre-commit-golang
pre-commit-golang copied to clipboard
Add staticcheck hook
Thank you for the PR! It is possible to run staticcheck as part of the golangci-lint hook. Would that work for your use case, or are you looking to run only staticcheck?
Yep, just run only staticcheck.
golangci-lint could do the same, but it has to install both staticcheck and golangci-lint.
Hopefully could separate them.