☕️ Classic, reliable, trusted test framework for Node.js and the browser
Move linting into an npm script. Relates to #2805
Peter Müller17a177011d3c
diff --git a/Makefile b/Makefileindex 33408bfb..ad8b097e 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 linttest-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-onlydiff --git a/package.json b/package.jsonindex f681ba3e..a02ab9e8 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",