diff --git a/Makefile b/Makefile index 33408bfbad..ad8b097e4e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ BROWSERIFY := "node_modules/.bin/browserify" -ESLINT := "node_modules/.bin/eslint" KARMA := "node_modules/.bin/karma" MOCHA := "bin/mocha" NYC := "node_modules/.bin/nyc" @@ -34,7 +33,7 @@ clean: lint: @printf "==> [Test :: Lint]\n" - $(ESLINT) . "bin/*" + npm run lint test-node: test-bdd test-tdd test-qunit test-exports test-unit test-integration test-jsapi test-compilers test-glob test-requires test-reporters test-only test-global-only diff --git a/package.json b/package.json index f681ba3e16..a02ab9e803 100644 --- a/package.json +++ b/package.json @@ -299,6 +299,7 @@ "npm": ">= 1.4.x" }, "scripts": { + "lint": "eslint . bin/*", "test": "make test && make clean", "precoverage": "rm -rf coverage", "coverage": "COVERAGE=true npm run test",