From 4cf0fec12f3596cc17d313db3be4d46b91ef9862 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 27 Mar 2025 23:32:00 +0800 Subject: Lint --- .golangci.yaml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to '.golangci.yaml') diff --git a/.golangci.yaml b/.golangci.yaml index 97ad786..230efcd 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -14,15 +14,17 @@ linters: - nakedret # patterns should be consistent - nonamedreturns # i like named returns - wrapcheck # wrapping all errors is just not necessary - - maintidx # e - - nestif # e - - gocognit # e - - gocyclo # e - - cyclop # e - - goconst # e - - funlen # e - - wsl # e - - nlreturn # e + - maintidx # e + - nestif # e + - gocognit # e + - gocyclo # e + - cyclop # e + - goconst # e + - funlen # e + - wsl # e + - nlreturn # e + - unused # e + - exhaustruct # e issues: max-issues-per-linter: 0 -- cgit v1.2.3