From 28c7b03266347ef2d3921bf612bc75ecfc87d703 Mon Sep 17 00:00:00 2001 From: Gareth Kirwan Date: Wed, 21 Feb 2024 15:09:20 +0700 Subject: [PATCH] Linter: Disable testifylint.Len We deliberately use Equal over Len to avoid spamming the contents of large Slices --- .golangci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 585c5ca0f9b..b5324f959b5 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -146,6 +146,8 @@ linters-settings: disable: - require-error - float-compare + # We deliberately use Equal over Len to avoid spamming the contents of large Slices + - len issues: max-issues-per-linter: 0