From f334232b856182531a0c3396f8862f9d16323451 Mon Sep 17 00:00:00 2001 From: Augustin Husson Date: Wed, 16 Aug 2023 09:37:10 +0200 Subject: [PATCH] override lint makefile directive Signed-off-by: Augustin Husson --- Makefile | 3 +++ ui/react-app/ui.go | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) 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))