Skip to content

Commit a422f52

Browse files
committed
Faillint: Add a replacement suggestion for 'sync/atomic'
Signed-off-by: Javier Palomo <[email protected]>
1 parent 3eab5f5 commit a422f52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,9 @@ github.com/prometheus/prometheus/pkg/testutils=github.com/thanos-io/thanos/pkg/t
266266
github.com/prometheus/client_golang/prometheus.{DefaultGatherer,DefBuckets,NewUntypedFunc,UntypedFunc},\
267267
github.com/prometheus/client_golang/prometheus.{NewCounter,NewCounterVec,NewCounterVec,NewGauge,NewGaugeVec,NewGaugeFunc,\
268268
NewHistorgram,NewHistogramVec,NewSummary,NewSummaryVec}=github.com/prometheus/client_golang/prometheus/promauto.{NewCounter,\
269-
NewCounterVec,NewCounterVec,NewGauge,NewGaugeVec,NewGaugeFunc,NewHistorgram,NewHistogramVec,NewSummary,NewSummaryVec}" ./...
269+
NewCounterVec,NewCounterVec,NewGauge,NewGaugeVec,NewGaugeFunc,NewHistorgram,NewHistogramVec,NewSummary,NewSummaryVec},\
270+
sync/atomic=go.uber.org/atomic" ./...
270271
@$(FAILLINT) -paths "fmt.{Print,Println,Sprint}" -ignore-tests ./...
271-
@$(FAILLINT) -paths "sync/atomic" ./...
272272
@echo ">> linting all of the Go files GOGC=${GOGC}"
273273
@$(GOLANGCI_LINT) run
274274
@echo ">> detecting white noise"

0 commit comments

Comments
 (0)