diff --git a/.golangci.yml b/.golangci.yml index 01f7144..6a28d48 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -40,7 +40,6 @@ linters: - paralleltest - cyclop # because we have gocyclo already # TODO: review the linters below. We disabled them to make the CI pass first. - - containedctx - ireturn - varnamelen - forcetypeassert diff --git a/context_test.go b/context_test.go index 9114c94..70140aa 100644 --- a/context_test.go +++ b/context_test.go @@ -11,7 +11,7 @@ import ( func TestContext_ExtractOperationType(t *testing.T) { var testCases = []struct { - Ctx context.Context + Ctx context.Context //nolint: containedctx ExpectedOpType operationType }{ {