add staticcheck as a presubmit check #1529
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
process
process/chore oriented work
staticcheck is a common linter for Go projects. We should consider adding it as a presubmit check for PRs to catch things like #1527, #1526, and #1525
We should consider adding it as a presubmit check for this repo. See googleapis/gapic-generator-go#1404 for a similar feature.
As of
[f888517](https://github.com/googleapis/gapic-showcase/commit/f8885173d81acd923e10b113e5f55ed18f58bf31)
, running staticcheck returns these errors:The text was updated successfully, but these errors were encountered: