Skip to content

Commit 8ea70fb

Browse files
committed
faillint: Ensure we are not using sync/atomic
Signed-off-by: Javier Palomo <[email protected]>
1 parent 2f81003 commit 8ea70fb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ lint:
140140
golangci-lint run
141141

142142
# Ensure no blacklisted package is imported.
143-
faillint -paths "github.com/bmizerany/assert=github.com/stretchr/testify/assert,golang.org/x/net/context=context" ./pkg/... ./cmd/... ./tools/... ./integration/...
143+
faillint -paths "github.com/bmizerany/assert=github.com/stretchr/testify/assert,\
144+
golang.org/x/net/context=context,\
145+
sync/atomic=go.uber.org/atomic" ./pkg/... ./cmd/... ./tools/... ./integration/...
144146

145147
# Validate Kubernetes spec files. Requires:
146148
# https://kubeval.instrumenta.dev

0 commit comments

Comments
 (0)