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:
Niels de Vos 2023-06-02 11:11:15 +02:00 committed by mergify[bot]
parent b54d32dd75
commit 4e6675df76

View File

@ -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