From a66689f96bce8642c275077ea9eed46427fb746c Mon Sep 17 00:00:00 2001 From: Danny Guo Date: Fri, 2 Mar 2018 18:13:13 -0500 Subject: [PATCH] Fix the make test command It depends on a lint command from a Makefile in the make-lint package. However, that lint command assumes there is a node_modules subdirectory containing ESLint. Since v3, npm tries to flatten the dependency tree, so ESLint is installed in the root node_modules instead. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 75a6379..f9f8d77 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ SRC = index.js include node_modules/make-lint/index.mk LINT_CONFIG = .eslintrc +LINT = node_modules/.bin/eslint TESTS = test.js test: lint