Files
threshold/.golangci.yml
T
Jeff MitchellandDamian Debkowski 35cef97bd4 Linter fixes PR 3 (#4415)
* Linter fixes

* fix(bsr): update test to register TEST protocol once

---------

Co-authored-by: Damian Debkowski <damian.debkowski@hashicorp.com>
2024-02-16 08:30:16 -05:00

72 lines
2.0 KiB
YAML

linters:
disable-all: true
enable:
- staticcheck
- stylecheck
- errcheck
- misspell
- bodyclose
issues:
exclude-rules:
- linters:
- stylecheck
text: "ST1005:"
- linters:
- stylecheck
text: "ST1003:"
- linters:
- staticcheck
text: "SA1019: pbs.AuthorizedWorkerList is deprecated:"
- linters:
- staticcheck
text: "SA1019: item.GetGrantScopeId is deprecated:"
- linters:
- staticcheck
text: "SA1019: out.GrantScopeId is deprecated:"
- linters:
- staticcheck
text: "SA1019: authorized.GetWorkerKeyIdentifiers is deprecated:"
- linters:
- staticcheck
text: "SA1019: result.GetAuthorizedWorkers is deprecated:"
- linters:
- staticcheck
text: "SA1019: item.GetWorkerFilter is deprecated:"
- linters:
- staticcheck
text: "SA1019: out.GetWorkerFilter is deprecated:"
- linters:
- staticcheck
text: "SA1019: out.WorkerFilter is deprecated:"
- linters:
- staticcheck
text: "SA1019: req.GetTokenType is deprecated:"
- linters:
- staticcheck
text: "SA1019: s.resp.GetPkcs8HostKeys is deprecated:"
- linters:
- staticcheck
text: "SA1019: s.resp.GetCredentials is deprecated:"
- linters:
- staticcheck
text: 'SA1019: got.GetAuthorizedWorkers is deprecated:'
- linters:
- staticcheck
text: 'SA1019: gotAuthorizedWorkers.GetWorkerKeyIdentifiers is deprecated:'
- linters:
- staticcheck
text: 'SA1019: tc.want.GetAuthorizedWorkers is deprecated:'
- linters:
- staticcheck
text: 'SA1019: wantAuthorizedWorkers.GetWorkerKeyIdentifiers is deprecated:'
- linters:
- staticcheck
text: "SA1019: authorizedWorkerList.WorkerKeyIdentifiers is deprecated:"
- linters:
- staticcheck
text: "SA1019: req.GetConnectedWorkerKeyIdentifiers is deprecated:"
- linters:
- staticcheck
text: "SA1019: j.GetId is deprecated:"