Skip to content

Commit

Permalink
add eslint for test
Browse files Browse the repository at this point in the history
  • Loading branch information
lpatiny authored Nov 24, 2016
1 parent 94d6ab1 commit f8100bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"scripts": {
"eslint": "eslint src test --cache",
"eslint-fix": "npm run eslint -- --fix",
"test": "npm run test-mocha",
"test": "npm run test-mocha && npm run eslint",
"test-mocha": "mocha --compilers js:babel-register --require should --reporter mocha-better-spec-reporter --recursive src/**/__tests__/**/*.js",
"test-cov": "istanbul cover _mocha -- --compilers js:babel-register --require should --reporter dot --recursive src/**/__tests__/**/*.js",
"test-travis": "istanbul cover _mocha --report lcovonly -- --compilers js:babel-register --require should --reporter mocha-better-spec-reporter --recursive src/**/__tests__/**/*.js && npm run eslint",
Expand Down

0 comments on commit f8100bd

Please sign in to comment.