cleanup: adds short description to disable goerr113 linter

This commit adds a short description with reason to
disable the goerr113 linter.

issue: #1227

Signed-off-by: Yati Padia <ypadia@redhat.com>
This commit is contained in:
Yati Padia 2022-03-16 15:54:21 +05:30 committed by mergify[bot]
parent 525ff5d97f
commit 732ab13096

View File

@ -169,7 +169,11 @@ linters:
- funlen
- testpackage
- exhaustivestruct
# TODO: enable goerr113, see: https://github.com/ceph/ceph-csi/issues/1227
# This requires extra addition of unnecessary code. Hence, we
# prefer to disable this linter. But, it can be enabled if we
# have better resolution. For more details check the
# issue below.
# see: https://github.com/ceph/ceph-csi/issues/1227
- goerr113
- forbidigo
# TODO: enable gomoddirectives