summaryrefslogtreecommitdiff
path: root/.golangci.yaml
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-11-28 16:34:28 +0100
committerMarc Vertes <mvertes@free.fr>2025-11-28 16:34:28 +0100
commitfbc73922e9853d7e344e388f3fdfedb8fa323682 (patch)
tree17cab9c49babad09906a34f3c16ebb0558c4e948 /.golangci.yaml
parent22b020225ae77ca1cf9f9984817df9b7fd1aaa12 (diff)
doc: improve comments, pass lint
Also improve the setup of golangci-lint.
Diffstat (limited to '.golangci.yaml')
-rw-r--r--.golangci.yaml18
1 files changed, 4 insertions, 14 deletions
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$