diff options
author | Will Chandler <wchandler@gitlab.com> | 2022-09-30 21:40:24 +0300 |
---|---|---|
committer | Will Chandler <wchandler@gitlab.com> | 2022-09-30 23:09:00 +0300 |
commit | 76563783e6c7468a43397e0de5849ce7e534da78 (patch) | |
tree | 8c210a808b208af68f227ee8969f317c4be7f3fd /client | |
parent | 4c15523cf680c107c5aa2b8268674cd0345a6b78 (diff) |
golangci-lint: Restore default revive lintswc/fix-revive-lints
With 7e87131ed (golangci-lint: Allow `testing.T` as first parameter,
2022-08-10) we set `context-as-argument` the sole argument to
`revive:rules`. This causes golangci-lint to disable all revive lints
that were previously enabled by default.
Re-enable the default revive lints by explicitly listing them in our
config. This triggers a large number of lint errors, resolve these as
well in this commit.
Diffstat (limited to 'client')
-rw-r--r-- | client/pool_options.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/pool_options.go b/client/pool_options.go index decb2a812..a8139c1f2 100644 --- a/client/pool_options.go +++ b/client/pool_options.go @@ -7,7 +7,7 @@ type poolOptions struct { dialOptions []grpc.DialOption } -//nolint: stylecheck // This is unintentionally missing documentation. +//nolint:revive // This is unintentionally missing documentation. type PoolOption func(*poolOptions) func applyPoolOptions(options []PoolOption) *poolOptions { |