[ADD] Enable Linters and Gofumpt
This primarily enables a handful of additional linters in golangci - these will only get applied by trunk on new changes, existing code that breaks them will be sampled and shown as a warning but not fail the lint target. I'll go through and fix warnings in smaller batches since there are many, this pass just enables remaining linters and fixes the lint-pre target.
Changes
- Add new
golangcilinters - Apply
gofumptchanges and fix thelint-pretarget - Update the
protobtarget to usego installinstead ofgo getto avoid modifyinggo.mod- this was why those showed changed aftermake build - Prefix
UnavailableBlockandFailOutputMatchCriteriawithErrto satisfy the linter since it failed aftergofumptmodified those lines
Edited by Heimdall