From 1ad37de2a57dc4cd25051e8bf7a885a1e01774af Mon Sep 17 00:00:00 2001 From: appleboy Date: Sun, 24 Mar 2024 10:14:27 +0800 Subject: [PATCH] chore: refactor linters configuration and remove unused linters - Remove `deadcode` and `depguard` linters - Remove `structcheck` linter - Remove `varcheck` linter Signed-off-by: appleboy --- .golangci.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 5a0031c..d59c99b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -4,8 +4,6 @@ linters: fast: false enable: - bodyclose - - deadcode - - depguard - dogsled - dupl - errcheck @@ -29,13 +27,11 @@ linters: - nolintlint - rowserrcheck - staticcheck - - structcheck - stylecheck - typecheck - unconvert - unparam - unused - - varcheck - whitespace - gofumpt