ci: sync golangci-lint config

This commit is contained in:
aymanbagabas
2026-07-26 00:19:29 +00:00
committed by github-actions[bot]
parent b52e21a626
commit 8cdd294c2c
+7 -5
View File
@@ -7,7 +7,6 @@ linters:
- exhaustive - exhaustive
- goconst - goconst
- godot - godot
- godox
- gomoddirectives - gomoddirectives
- goprintffuncname - goprintffuncname
- gosec - gosec
@@ -27,13 +26,16 @@ linters:
- whitespace - whitespace
- wrapcheck - wrapcheck
exclusions: exclusions:
rules:
- text: '(slog|log)\.\w+'
linters:
- noctx
generated: lax generated: lax
presets: presets:
- common-false-positives - common-false-positives
rules: settings:
- linters: exhaustive:
- revive default-signifies-exhaustive: true
text: "var-naming"
issues: issues:
max-issues-per-linter: 0 max-issues-per-linter: 0
max-same-issues: 0 max-same-issues: 0