From ea4b8ec0b24b1ceb6624d9ca663dd198605fb379 Mon Sep 17 00:00:00 2001 From: go-to-k <24818752+go-to-k@users.noreply.github.com> Date: Mon, 19 Aug 2024 20:14:00 +0900 Subject: [PATCH 1/3] ci: add error linters --- .golangci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index d009ff6b..e85f55a7 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -19,4 +19,10 @@ linters: - gosec - ineffassign - unconvert - - unparam \ No newline at end of file + - unparam + - err113 + - errname + - errorlint + - nilerr + - nilnil + - wrapcheck \ No newline at end of file From 5f735fb74cb76a17a7dfd8489f701fdc8faa888e Mon Sep 17 00:00:00 2001 From: go-to-k <24818752+go-to-k@users.noreply.github.com> Date: Thu, 22 Aug 2024 22:06:30 +0900 Subject: [PATCH 2/3] rm wrapcheck --- .golangci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index e85f55a7..37785d6b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -24,5 +24,4 @@ linters: - errname - errorlint - nilerr - - nilnil - - wrapcheck \ No newline at end of file + - nilnil \ No newline at end of file From 1838d6eecc464017b6e8c2245e6116e8d15c4606 Mon Sep 17 00:00:00 2001 From: go-to-k <24818752+go-to-k@users.noreply.github.com> Date: Thu, 22 Aug 2024 22:19:54 +0900 Subject: [PATCH 3/3] rm err113 --- .golangci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index 37785d6b..028c736b 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -20,7 +20,6 @@ linters: - ineffassign - unconvert - unparam - - err113 - errname - errorlint - nilerr