File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -280,7 +280,6 @@ linters:
280
280
# Recommended? (requires some work)
281
281
#
282
282
283
- - containedctx # containedctx is a linter that detects struct contained context.Context field
284
283
- errname # Checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error`.
285
284
- ireturn # Accept Interfaces, Return Concrete Types
286
285
- mnd # An analyzer to detect magic numbers.
@@ -503,3 +502,8 @@ issues:
503
502
- usetesting
504
503
path : " pkg/apiserver/(.+)_test.go"
505
504
text : " os.CreateTemp.* could be replaced by os.CreateTemp.*"
505
+
506
+ - linters :
507
+ - containedctx
508
+ path : " cmd/notification-file/main.go"
509
+ text : " found a struct that contains a context.Context field"
You can’t perform that action at this time.
0 commit comments