diff --git a/.golangci.yaml b/.golangci.yaml index 531eda4e..55cd76aa 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -32,8 +32,10 @@ linters-settings: errcheck: # Report about assignment of errors to blank identifier. check-blank: true - # Report about not checking of errors in type assertions. - check-type-assertions: true + # Do not report about not checking of errors in type assertions. + # This is not as dangerous as skipping error values because an unchecked type assertion just immediately panics. + # We disable this because it makes a ton of useless noise esp. in test code. + check-type-assertions: false forbidigo: analyze-types: true # required for pkg: forbid: