mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-21 15:45:01 +00:00
Makefile: disable structcheck
in golangci-lint
, since it gives false positive on embedded structs
This commit is contained in:
parent
5b01b7fb01
commit
88d793305d
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -108,7 +108,7 @@ install-qtc:
|
||||||
|
|
||||||
|
|
||||||
golangci-lint: install-golangci-lint
|
golangci-lint: install-golangci-lint
|
||||||
golangci-lint run --exclude '(SA4003|SA1019):' -D errcheck
|
golangci-lint run --exclude '(SA4003|SA1019):' -D errcheck -D structcheck
|
||||||
|
|
||||||
install-golangci-lint:
|
install-golangci-lint:
|
||||||
which golangci-lint || GO111MODULE=off go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
|
which golangci-lint || GO111MODULE=off go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
|
||||||
|
|
Loading…
Reference in a new issue