From cd8d951fd64fc85df7d49c34037b36811c2ceffb Mon Sep 17 00:00:00 2001 From: Colby Gutierrez-Kraybill Date: Wed, 18 Jul 2018 16:02:22 -0400 Subject: [PATCH] Linting tests will not work if scratch-gui is linked directly into local directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We’re currently linking scratch-gui directly into the scratch-www directory (either through a bind mount in docker) or a symoblic link in unix. This causes the current make lint target to fail when it attempts to look in that directory for lint targets. Also, don’t bother linting node_modules --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6fed25bde..f47cacb35 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ test: @make tap lint: - $(ESLINT) . --ext .js,.jsx,.json + $(ESLINT) --ignore-pattern scratch-gui --ignore-pattern node_modules . --ext .js,.jsx,.json $(SASSLINT) ./src/*.scss $(SASSLINT) ./src/**/*.scss