Skip to content

Commit dae6574

Browse files
committed
[Tests] use pretest to run the linter
1 parent 2dcb73b commit dae6574

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"scripts": {
88
"coveralls": "cat ./reports/coverage/lcov.info | coveralls",
99
"lint": "eslint ./",
10-
"test": "npm run lint && npm run unit-test",
10+
"pretest": "npm run lint",
11+
"test": "npm run unit-test",
1112
"unit-test": "istanbul cover --dir reports/coverage node_modules/mocha/bin/_mocha tests/**/*.js -- --reporter dot"
1213
},
1314
"files": [

0 commit comments

Comments
 (0)