From ddd6b334a3c33b1a998adadbb4fba8e56bdeb072 Mon Sep 17 00:00:00 2001 From: sapcc-bot Date: Tue, 12 Nov 2024 10:02:09 +0000 Subject: [PATCH] Run go-makefile-maker --- .golangci.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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: