Skip to content

Commit 4acdeed

Browse files
committed
run linter inside of test script
1 parent 3f4d724 commit 4acdeed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"license": "MIT",
2626
"scripts": {
2727
"lint": "xo",
28-
"test": "npm run test:node && npm run test:browser",
28+
"test": "npm run test:node && npm run test:browser && npm run lint",
2929
"test:node": "istanbul cover _mocha -- test.js",
3030
"test:browser": "karma start --single-run",
3131
"test:coverage": "cat ./coverage/lcov.info | coveralls"
@@ -49,6 +49,6 @@
4949
"main": "./src/index.js",
5050
"browser": "./src/browser.js",
5151
"engines": {
52-
"node": ">=6.0"
52+
"node": ">=6.0"
5353
}
5454
}

0 commit comments

Comments
 (0)