diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-11-12 12:13:34 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-11-12 17:39:42 +0300 |
commit | 400c7225dd2a0dd17e907ce5af25e7ade5ed81fb (patch) | |
tree | 18a980ff722a6cde0130a239129218d76f13cf22 /client | |
parent | e55a44689f4a787726df6e230477e77a2b2d9e42 (diff) |
lint: Inline exceptions about missing documentation
Most of the linting exception we have are about missing documentation of
public variables or comments. Let's inline all of these -- it's hard to
keep track of exceptions and keep the list up-to-date. By having a
`//nolint` directive at the site where the document is missing it
becomes a breeze to directly clean it up. Furthermore, it also acts as a
reminder that one might want to add a comment when one stumbles over any
of these comments.
Diffstat (limited to 'client')
-rw-r--r-- | client/pool_options.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/pool_options.go b/client/pool_options.go index facd08bf0..35f924c41 100644 --- a/client/pool_options.go +++ b/client/pool_options.go @@ -7,6 +7,7 @@ type poolOptions struct { dialOptions []grpc.DialOption } +//nolint: revive,stylecheck // This is unintentionally missing documentation. type PoolOption func(*poolOptions) func applyPoolOptions(options []PoolOption) *poolOptions { |