From e614fb35b50ec60d053babc38e4006e36ac778c3 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Wed, 18 Feb 2026 09:24:54 -0800 Subject: [PATCH] Clean up golangci-lint config --- .golangci.yml | 36 +++++++++--------------------------- 1 file changed, 9 insertions(+), 27 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 8a00b01..4270301 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,52 +1,34 @@ version: "2" linters: enable: + - errcheck - errname - errorlint - exhaustive - - goprintffuncname + - gosec + - govet + - ineffassign - misspell - mnd - - tagliatelle + - modernize + - staticcheck + - tagalign - testpackage - thelper - tparallel - unconvert + - unused - wrapcheck - - wsl - disable: - - gochecknoglobals - settings: - gosec: - excludes: - - G204 - tagliatelle: - case: - rules: - json: snake - yaml: snake + - wsl_v5 exclusions: generated: lax presets: - - comments - common-false-positives - - legacy - - std-error-handling rules: - linters: - gosec path: _test\.go - paths: - - third_party$ - - builtin$ - - examples$ formatters: enable: - gofumpt - goimports - exclusions: - generated: lax - paths: - - third_party$ - - builtin$ - - examples$