Skip to content

Commit

Permalink
Move linting into an npm script. Relates to #2805
Browse files Browse the repository at this point in the history
  • Loading branch information
Munter committed May 15, 2017
1 parent ac0c1c8 commit 17a1770
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 17a1770

Please sign in to comment.