diff --git a/Makefile b/Makefile index 62f3d70e..c6bfcad0 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,9 @@ build-all: assets apiv2 build .PHONY: build build: build-react-app assets-compress common-build +.PHONY: lint +lint: assets-compress common-lint + .PHONY: build-react-app build-react-app: cd ui/react-app && npm install && npm run build diff --git a/ui/react-app/ui.go b/ui/react-app/ui.go index bc0fc4da..133d0217 100644 --- a/ui/react-app/ui.go +++ b/ui/react-app/ui.go @@ -19,5 +19,4 @@ import ( "github.com/prometheus/common/assets" ) -//nolint:typecheck // Ignore undeclared embedFS, it is part of generated code. var Assets = http.FS(assets.New(embedFS))