From 25a7b738c86e362af84523e03cdf12a4fc18caf4 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Sat, 26 Oct 2024 23:31:13 +0700 Subject: [PATCH] chore: sync lint --- .golangci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.golangci.yml b/.golangci.yml index 506699d..188ada5 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -17,10 +17,12 @@ linters: - typecheck - unused # Custom + - bodyclose - err113 - errchkjson - errname - errorlint + - fatcontext - forcetypeassert - gocritic - gofumpt @@ -72,6 +74,8 @@ linters-settings: excludes: - G101 - G112 + - G115 + - G204 - G402 - G404 - G501