Skip to content

Commit d9d9925

Browse files
committed
Disable linting for hard-coded creds in *_test.go
1 parent 226b1cc commit d9d9925

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.golangci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,10 @@ linters:
237237
- nolintlint
238238
- prealloc
239239
path: _test\.go
240+
- linters:
241+
- gosec
242+
path: _test\.go
243+
text: 'G101'
240244
- linters:
241245
- exhaustruct
242246
path: (?i).*mock.*

0 commit comments

Comments
 (0)