From ab6ef3b0326545384bfd021eb976bd2908eb23f1 Mon Sep 17 00:00:00 2001 From: Amolith Date: Fri, 19 Dec 2025 17:10:01 -0700 Subject: [PATCH] chore: remove exhaustruct linter Assisted-by: Claude Sonnet 4 via Crush --- .golangci.yaml | 1 - lunatask.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index 33040efeefb7cd696de66baf769276df533fe976..3e2962ccfbdf6fd969ff778b2b00fce40e172930 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -29,7 +29,6 @@ linters: - errname - errorlint - exhaustive - - exhaustruct - exptostd - fatcontext - forbidigo diff --git a/lunatask.go b/lunatask.go index dea4b5c6f9e2c197c982d93ccafe77246a6f1ead..03d43069b5dd10ab37f5c3981a0efbe1a3927a88 100644 --- a/lunatask.go +++ b/lunatask.go @@ -173,7 +173,7 @@ func NewClient(accessToken string, opts ...Option) *Client { client := &Client{ accessToken: accessToken, baseURL: DefaultBaseURL, - httpClient: &http.Client{}, //nolint:exhaustruct + httpClient: &http.Client{}, userAgent: "", } for _, opt := range opts {