You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This adds staticcheck to our `make lint` and fixes issues reported by it.
Of the failures reported by staticcheck, the following were actual
issues:
- shallowCheckDependencies: addMissingNodes was unused. I think this was
intended to go into visualiziation somehow, but we never did it.
- digSentinel fields on dig.In/Out can be hidden away
- A test validating that we don't allow the `Group` provide option for
`dig.Out`-based structs was not actually using the result struct
declared there so it wasn't testing what it claimed to test.
Besides that, there were a number of unused fields in test structs.
These are intentionally unused fields so I've appeased the linter by
referencing them with `_ = ..` assignments.
0 commit comments