From b8324bc2578e90a01f843104b2e38b840a1bcad1 Mon Sep 17 00:00:00 2001 From: ktong Date: Sat, 11 Nov 2023 09:26:33 -0800 Subject: [PATCH] add more linters --- .golangci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 2a6ee813..535efb0a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -64,6 +64,7 @@ linters: - gocheckcompilerdirectives - gochecknoglobals - gochecknoinits + - gochecksumtype - gocognit - goconst - gocritic @@ -85,6 +86,7 @@ linters: - govet - grouper - importas + # inamedparam - ineffassign - interfacebloat - ireturn @@ -105,12 +107,15 @@ linters: - nonamedreturns - nosprintfhostport - paralleltest + - perfsprint - prealloc - predeclared - promlinter + - protogetter - reassign - revive - rowserrcheck + - sloglint - sqlclosecheck - staticcheck - stylecheck @@ -118,6 +123,7 @@ linters: - tagliatelle - tenv - testableexamples + - testifylint - testpackage - thelper - tparallel