From fbc73922e9853d7e344e388f3fdfedb8fa323682 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Fri, 28 Nov 2025 16:34:28 +0100 Subject: doc: improve comments, pass lint Also improve the setup of golangci-lint. --- .golangci.yaml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to '.golangci.yaml') diff --git a/.golangci.yaml b/.golangci.yaml index bc1fbb6..34d9d92 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -4,30 +4,20 @@ linters: - gocritic - godot - gosec + - ineffassign - misspell + - modernize - perfsprint - prealloc - predeclared - reassign - revive + - staticcheck - unconvert + - unused exclusions: - generated: lax presets: - common-false-positives - - legacy - - std-error-handling - - comments - paths: - - third_party$ - - builtin$ - - examples$ formatters: enable: - gofumpt - exclusions: - generated: lax - paths: - - third_party$ - - builtin$ - - examples$ -- cgit v1.2.3