Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,14 @@ linters:
disable:
- fieldalignment
forbidigo:
analyze-types: true
forbid:
- pattern: time.Sleep
msg: "Please use require.Eventually or assert.Eventually instead unless you've no other option"
- pattern: panic
msg: "Please avoid using panic in application code"
- pattern: 'require\.Assertions'
msg: "use require functions directly instead of require.Assertions"
importas:
# Enforce the aliases below.
no-unaliased: true
Expand Down
Loading