From e58ddd50e785711f8cb4b13bfded9bc90e8b5c86 Mon Sep 17 00:00:00 2001 From: Aron Wussler Date: Tue, 15 Feb 2022 11:14:55 +0100 Subject: [PATCH] Fix linter --- .golangci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 6f032cd..1a14b3c 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -43,4 +43,5 @@ linters: - wrapcheck # Force wrapping of external error TODO: when the bug is fixed update the linter - gomoddirectives # Prohibits the use of replace statements - varnamelen # Forbids short var names - - ireturn # Prevents returning interfaces \ No newline at end of file + - ireturn # Prevents returning interfaces + - forcetypeassert # Forces to assert types in tests \ No newline at end of file