override lint makefile directive

Signed-off-by: Augustin Husson <augustin.husson@amadeus.com>
This commit is contained in:
Augustin Husson 2023-08-16 09:37:10 +02:00
parent 4b86e08028
commit f334232b85
2 changed files with 3 additions and 1 deletions

View File

@ -29,6 +29,9 @@ build-all: assets apiv2 build
.PHONY: build .PHONY: build
build: build-react-app assets-compress common-build build: build-react-app assets-compress common-build
.PHONY: lint
lint: assets-compress common-lint
.PHONY: build-react-app .PHONY: build-react-app
build-react-app: build-react-app:
cd ui/react-app && npm install && npm run build cd ui/react-app && npm install && npm run build

View File

@ -19,5 +19,4 @@ import (
"github.com/prometheus/common/assets" "github.com/prometheus/common/assets"
) )
//nolint:typecheck // Ignore undeclared embedFS, it is part of generated code.
var Assets = http.FS(assets.New(embedFS)) var Assets = http.FS(assets.New(embedFS))