mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 06:10:22 +00:00
ci: disable gocritic:uncheckedInlineErr
due to false-prositives
uncheckedInlineErr gives many false-positives, there is no need to rewrite all of the reported if-statements. Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
parent
b54d32dd75
commit
4e6675df76
@ -126,6 +126,8 @@ linters-settings:
|
||||
- wrapperFunc
|
||||
- unnamedResult
|
||||
- dupImport # https://github.com/go-critic/go-critic/issues/845
|
||||
# TODO: uncheckedInlineErr gives many false-positives
|
||||
- uncheckedInlineErr
|
||||
unused:
|
||||
# treat code as a program (not a library) and report unused exported
|
||||
# identifiers; default is false.
|
||||
@ -195,5 +197,5 @@ linters:
|
||||
- maintidx
|
||||
- exhaustruct
|
||||
- containedctx
|
||||
# TODO: depguard requires a list of (un)acceptible imports
|
||||
# TODO: depguard requires a list of (un)acceptable imports
|
||||
- depguard
|
||||
|
Loading…
Reference in New Issue
Block a user