Skip to content

Commit 211b2dd

Browse files
Explicitly ignore gosec warnings
Since we do not want to introduce a logger in the aggregate repository for a very unlikely error we will ignore the warning for now.
1 parent c7e6125 commit 211b2dd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.golangci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,9 @@ issues:
3131
- path: _test\.go
3232
linters:
3333
- errcheck
34+
35+
# Ignore the streamEvents.Close errcheck warning since we do not want to introduce a logger for repositories just yet
36+
- path: aggregate/repository.go
37+
text: "Error return value of \\`streamEvents.Close\\` is not checked"
38+
linters:
39+
- errcheck

0 commit comments

Comments
 (0)