From 72633acf34386bb65ab22b28a2a6e6346102e3c1 Mon Sep 17 00:00:00 2001 From: Su Yang Date: Mon, 24 Jun 2024 23:26:11 +0800 Subject: [PATCH] chore: update linter --- .golangci.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 65d35f1..bb939cf 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 @@ -46,6 +42,7 @@ linters-settings: files: - $all - "!$test" + - "!*_test.go" allow: - github.com/gin-gonic/gin - embed @@ -57,5 +54,4 @@ linters-settings: - fmt run: - timeout: 3m - tests: false + timeout: 3m \ No newline at end of file