From ef8089ea70f86fc5587ecb80830a73db42cd5f2e Mon Sep 17 00:00:00 2001 From: Alex Windett Date: Thu, 6 Apr 2017 11:43:03 +0100 Subject: [PATCH] add cache flag to lint task fixes: #419 --- frontend/Makefile | 4 ++-- ui/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/Makefile b/frontend/Makefile index 1ab20055..931743f4 100644 --- a/frontend/Makefile +++ b/frontend/Makefile @@ -57,13 +57,13 @@ start: .PHONY: lint lint: - $(bindir)/eslint . + $(bindir)/eslint . --cache # $(bindir)/stylelint './src/**/*.js' .PHONY: lint-ci lint-ci: mkdir -p $(XUNIT_DIR) - -$(bindir)/eslint . --format tap | $(XUNIT) $(XUNIT_OUTPUT)-lint.xml + -$(bindir)/eslint . --cache --format tap | $(XUNIT) $(XUNIT_OUTPUT)-lint.xml .PHONY: licence-check licence-check: diff --git a/ui/Makefile b/ui/Makefile index 6549b603..2b097703 100644 --- a/ui/Makefile +++ b/ui/Makefile @@ -59,13 +59,13 @@ clean: .PHONY: lint lint: - $(bindir)/eslint . + $(bindir)/eslint . --cache # $(bindir)/stylelint './src/**/*.js' .PHONY: lint-ci lint-ci: mkdir -p $(XUNIT_DIR) - -$(bindir)/eslint . --format tap | $(XUNIT) $(XUNIT_OUTPUT)-lint.xml + -$(bindir)/eslint . --cache --format tap | $(XUNIT) $(XUNIT_OUTPUT)-lint.xml .PHONY: publish publish: