Skip to content

Commit 37e53ba

Browse files
committed
Fix: stop using ESLint under Node 0.x in Travis CI
1 parent fd9369b commit 37e53ba

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"clean": "rimraf coverage",
1414
"build": "node scripts/generate-index.js",
1515
"test": "run-s -sn clean build test:*",
16-
"test:lint": "eslint lib tests/lib index.js",
16+
"test:lint": "if-node-version \">=4\" eslint lib tests/lib index.js",
1717
"test:mocha": "istanbul cover node_modules/mocha/bin/_mocha -- tests/lib/**/*.js --reporter progress",
1818
"coveralls": "cat coverage/lcov.info | coveralls"
1919
},
@@ -28,12 +28,13 @@
2828
"minimatch": "^3.0.2",
2929
"object-assign": "^4.0.1",
3030
"resolve": "^1.1.7",
31-
"semver": "5.1.0"
31+
"semver": "5.2.0"
3232
},
3333
"devDependencies": {
3434
"coveralls": "^2.11.4",
3535
"eslint": "^3.0.0",
3636
"eslint-config-mysticatea": "^5.0.0",
37+
"if-node-version": "^0.1.0",
3738
"istanbul": "^0.4.0",
3839
"mocha": "^2.3.4",
3940
"npm-run-all": "^2.0.0",

0 commit comments

Comments
 (0)