Skip to content

Commit 66cdfc5

Browse files
committed
test(lint): suppress slog context warning
1 parent 5eba79d commit 66cdfc5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.golangci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ linters:
156156
- linters:
157157
- revive
158158
text: var-naming
159+
- linters:
160+
- noctx
161+
text: .*log/slog.* must not be called. use .*log/slog.*Context
159162
- path: _test\.go
160163
linters:
161164
- dupl

0 commit comments

Comments
 (0)