.golangci.yml 🔗
@@ -26,6 +26,10 @@ linters:
- whitespace
- wrapcheck
exclusions:
+ rules:
+ - text: '(slog|log)\.\w+'
+ linters:
+ - noctx
generated: lax
presets:
- common-false-positives
github-actions[bot] and aymanbagabas created
Co-authored-by: aymanbagabas <3187948+aymanbagabas@users.noreply.github.com>
.golangci.yml | 4 ++++
1 file changed, 4 insertions(+)
@@ -26,6 +26,10 @@ linters:
- whitespace
- wrapcheck
exclusions:
+ rules:
+ - text: '(slog|log)\.\w+'
+ linters:
+ - noctx
generated: lax
presets:
- common-false-positives