From 66661f90ec703b9f8028b5bce17deaffd53b22ec Mon Sep 17 00:00:00 2001 From: Rickard von Essen Date: Sun, 27 Oct 2024 12:35:25 +0100 Subject: [PATCH] golangci-lint: megacheck has been replaced with gosimple, staticcheck, and unused Signed-off-by: Rickard von Essen --- .golangci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index cf1db8c17..c16541f76 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -107,16 +107,18 @@ linters-settings: linters: enable: - - megacheck - govet - gocyclo - gocritic - goconst - goimports - gofmt # We enable this as well as goimports for its simplify mode. + - gosimple - prealloc - revive + - staticcheck - unconvert + - unused - misspell - nakedret