From 3abf171102ab74cb78c21c5a9bc60ab24763333d Mon Sep 17 00:00:00 2001 From: Caleb Brown Date: Fri, 20 Dec 2024 12:39:36 +1100 Subject: [PATCH] Rename deadline to the correct timeout so linting completes. Signed-off-by: Caleb Brown --- .golangci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index fdb884c8..48e0f0e2 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,7 +1,7 @@ --- run: concurrency: 6 - deadline: 5m + timeout: 5m issues: # Maximum issues count per one linter. # Set to 0 to disable. @@ -19,12 +19,12 @@ linters: enable: - asciicheck - bodyclose + - copyloopvar - depguard - dogsled - errcheck - errorlint - exhaustive - - exportloopref - gci #- gochecknoinits - gocognit