From d72fcd195666c08d42ae6e2af9359817c4b00f77 Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Sat, 24 May 2025 23:30:58 -0700 Subject: chore: upgrade golangci lint --- .golangci.yaml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to '.golangci.yaml') diff --git a/.golangci.yaml b/.golangci.yaml index 4655178..6065695 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,7 +1,27 @@ +version: "2" linters: enable: - - bodyclose - asciicheck + - bodyclose + - goconst - gosec + exclusions: + generated: lax + presets: + - comments + - common-false-positives + - legacy + - std-error-handling + paths: + - third_party$ + - builtin$ + - examples$ +formatters: + enable: - gci - - goconst + exclusions: + generated: lax + paths: + - third_party$ + - builtin$ + - examples$ -- cgit v1.2.3