Skip to content

Commit c595662

Browse files
Run ESLint as part of the test script
1 parent 1b1ddfc commit c595662

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ matrix:
1313
- node_js: 7
1414

1515
script:
16-
- npm run lint
1716
- npm test

appveyor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ test_script:
2020
- npm --version
2121

2222
# run tests
23-
- npm run lint
2423
- npm test
2524

2625
# Don't run MSBuild

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,10 @@
3131
],
3232
"scripts": {
3333
"lint": "eslint bin lib test --fix",
34-
"build": "npm run lint",
35-
"test": "mocha",
34+
"test": "mocha && npm run lint",
3635
"upgrade": "npm-check -u",
3736
"bump": "node bin/bump.js --prompt --tag --push --all",
38-
"release": "npm run upgrade && npm run build && npm test && npm run bump && npm publish",
37+
"release": "npm run upgrade && npm test && npm run bump && npm publish",
3938
"semver": "semver"
4039
},
4140
"repository": {

0 commit comments

Comments
 (0)