We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d1e212 commit 2a1c423Copy full SHA for 2a1c423
.golangci.yml
@@ -19,6 +19,7 @@ linters:
19
- errchkjson
20
- errorlint
21
- exhaustive
22
+ - forbidigo
23
- ginkgolinter
24
- goconst
25
- gocritic
@@ -41,6 +42,12 @@ linters:
41
42
- unused
43
- whitespace
44
settings:
45
+ forbidigo:
46
+ forbid:
47
+ - pattern: context.Background
48
+ msg: Use ginkgos SpecContext or go testings t.Context instead
49
+ - pattern: context.TODO
50
51
govet:
52
disable:
53
- fieldalignment
0 commit comments