From ba39b2d48695af03b7cf3ff9edb5cb6a2e2801c8 Mon Sep 17 00:00:00 2001 From: Dan Jones Date: Thu, 13 Nov 2025 14:26:49 -0600 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Update=20Go=20version=20an?= =?UTF-8?q?d=20linter=20exclusions=20for=20test=20files.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .golangci.yaml | 7 +++++++ AGENTS.md | 2 +- go.mod | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index 3f33683..31104b0 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -37,3 +37,10 @@ linters: settings: hugeParam: sizeThreshold: 255 + exclusions: + rules: + - path: _test\.go + linters: + - err113 + - gocyclo + - gocognit diff --git a/AGENTS.md b/AGENTS.md index 33ff925..07e84ff 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -12,7 +12,7 @@ This document outlines the conventions and commands for agents operating within ## Code Style Guidelines - **Module**: `codeberg.org/danjones000/waiterr` -- **Go version**: 1.24.9 +- **Go version**: 1.25.3 - **Imports:** Group standard library imports separately from third-party imports. - **Formatting:** Adhere to `go fmt` standards. - **Naming Conventions:** diff --git a/go.mod b/go.mod index 6d6bf2f..31708ab 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module codeberg.org/danjones000/waiterr -go 1.24.9 +go 1.25.3 require github.com/nalgeon/be v0.3.0