Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

Commit b400cb1

Browse files
authored
Test eslint5, update peerDep (#690)
* test against eslint 5 * set peerDep
1 parent c333bd6 commit b400cb1

File tree

2 files changed

+165
-189
lines changed

2 files changed

+165
-189
lines changed

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"scripts": {
2222
"test": "npm run lint && npm run test-only",
2323
"test-only": "mocha && mocha --require test/fixtures/preprocess-to-patch.js",
24-
"lint": "eslint index.js babylon-to-espree test",
25-
"fix": "eslint index.js babylon-to-espree test --fix",
24+
"lint": "eslint lib test",
25+
"fix": "eslint lib test --fix",
2626
"precommit": "lint-staged",
2727
"preversion": "npm test",
2828
"changelog": "git log `git describe --tags --abbrev=0`..HEAD --pretty=format:' * %s (%an)' | grep -v 'Merge pull request'"
@@ -36,13 +36,16 @@
3636
"url": "https://github.com/babel/babel-eslint/issues"
3737
},
3838
"homepage": "https://github.com/babel/babel-eslint",
39+
"peerDependencies": {
40+
"eslint": ">= 4.12.1"
41+
},
3942
"devDependencies": {
4043
"babel-eslint": "^8.2.6",
4144
"dedent": "^0.7.0",
42-
"eslint": "npm:[email protected]",
45+
"eslint": "^5.6.0",
4346
"eslint-config-babel": "^7.0.1",
4447
"eslint-plugin-flowtype": "^2.30.3",
45-
"eslint-plugin-import": "^2.8.0",
48+
"eslint-plugin-import": "^2.14.0",
4649
"eslint-plugin-prettier": "^2.1.2",
4750
"espree": "^3.5.2",
4851
"husky": "^1.0.0-rc.13",

0 commit comments

Comments
 (0)