From 8f7e0d1cbb6b20af5b5af6098fd0000d94e7d72d Mon Sep 17 00:00:00 2001 From: David Christofas Date: Tue, 22 Feb 2022 11:01:00 +0100 Subject: [PATCH] increase lint timeout and replace deprecated linters --- .drone.star | 2 +- .golangci.yaml | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.drone.star b/.drone.star index b192b330769..cbbe9330d3b 100644 --- a/.drone.star +++ b/.drone.star @@ -29,7 +29,7 @@ def lintStep(): "name": "lint", "image": "registry.cern.ch/docker.io/golangci/golangci-lint:v1.42.1", "commands": [ - "golangci-lint run --timeout 2m0s", + "golangci-lint run --timeout 3m0s", ], } diff --git a/.golangci.yaml b/.golangci.yaml index 6c9559020e7..46904acca74 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -14,7 +14,6 @@ issues: - scopelint linters: enable: - - maligned - bodyclose - deadcode - errcheck @@ -27,10 +26,10 @@ linters: - unused - varcheck - depguard - - golint + - revive - goimports - unconvert - - scopelint + - exportloopref - misspell - gocritic - prealloc