From f08568e65d41de1258bbdd042a2bc68214c769ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Hellmann?= Date: Sun, 5 May 2024 12:24:31 +0200 Subject: [PATCH] ci: remove duplicate and unused linters and fix .golangci.yaml schema --- .golangci.yaml | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index 75c0664a..bc9112fb 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,11 +1,12 @@ -concurrency: 16 run: - deadline: 10m + timeout: 10m + concurrency: 16 issues-exit-code: 1 tests: true output: - format: colored-line-number + formats: + - format: colored-line-number linters-settings: godox: @@ -17,25 +18,12 @@ issues: linters: enable: - - scopelint - - govet - - ineffassign - - varcheck - - unused - - deadcode - - bodyclose - - structcheck - - staticcheck - - godox - - rowserrcheck - - prealloc - asasalint - asciicheck - bidichk - bodyclose - containedctx - contextcheck - - deadcode - decorder - dogsled - dupword @@ -86,11 +74,9 @@ linters: - protogetter - reassign - rowserrcheck - - scopelint - sloglint - sqlclosecheck - staticcheck - - structcheck - tagalign - tagliatelle - tenv @@ -103,7 +89,6 @@ linters: - unparam - unused - usestdlibvars - - varcheck - wastedassign - whitespace - zerologlint