mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 00:00:23 +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
|
- wrapperFunc
|
||||||
- unnamedResult
|
- unnamedResult
|
||||||
- dupImport # https://github.com/go-critic/go-critic/issues/845
|
- dupImport # https://github.com/go-critic/go-critic/issues/845
|
||||||
|
# TODO: uncheckedInlineErr gives many false-positives
|
||||||
|
- uncheckedInlineErr
|
||||||
unused:
|
unused:
|
||||||
# treat code as a program (not a library) and report unused exported
|
# treat code as a program (not a library) and report unused exported
|
||||||
# identifiers; default is false.
|
# identifiers; default is false.
|
||||||
@ -195,5 +197,5 @@ linters:
|
|||||||
- maintidx
|
- maintidx
|
||||||
- exhaustruct
|
- exhaustruct
|
||||||
- containedctx
|
- containedctx
|
||||||
# TODO: depguard requires a list of (un)acceptible imports
|
# TODO: depguard requires a list of (un)acceptable imports
|
||||||
- depguard
|
- depguard
|
||||||
|
Loading…
Reference in New Issue
Block a user