Skip to content

Commit

Permalink
cleanup: adds short description to disable goerr113 linter
Browse files Browse the repository at this point in the history
This commit adds a short description with reason to
disable the goerr113 linter.

issue: ceph#1227

Signed-off-by: Yati Padia <[email protected]>
  • Loading branch information
yati1998 authored and mergify[bot] committed Mar 16, 2022
1 parent 525ff5d commit 732ab13
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/golangci.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 732ab13

Please sign in to comment.