From 918e3ccd81836e0cf89d2488a6bc35a723f4ca4f Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Sat, 26 Oct 2024 23:34:15 +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