chore: update golangci-lint to version 1.45.0
Created by: camdencheek
This updates our linter to version 1.45.0. This is the first version that will run with go 1.18. Currently, running lints locally with go 1.18 installed will cause a panic.
Note that lints will still fail when running with go 1.18, but this fixes the panic. We cannot fix lints until CI is running with go 1.18.
Test plan
The lints pass in CI.