Skip to content

Commit 489a0b3

Browse files
committed
chore: Update eslint and require node 8+
BREAKING CHANGE: Update eslint to version 5 and require node 8+
1 parent 813f7fe commit 489a0b3

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

package.json

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,24 @@
44
"description": "CLI for prettier-eslint",
55
"main": "dist/no-main.js",
66
"engines": {
7-
"node": ">=4"
7+
"node": ">=8"
88
},
99
"bin": {
1010
"prettier-eslint": "dist/index.js"
1111
},
1212
"scripts": {
1313
"start": "nps",
1414
"test": "nps test",
15-
"precommit":
16-
"lint-staged && opt --in pre-commit --exec \"npm start validate\""
15+
"precommit": "lint-staged && opt --in pre-commit --exec \"npm start validate\""
1716
},
18-
"files": ["dist"],
17+
"files": [
18+
"dist"
19+
],
1920
"keywords": [],
2021
"author": "Kent C. Dodds <kent@doddsfamily.us> (http://kentcdodds.com/)",
21-
"maintainers": ["Simon Fridlund <simon@fridlund.email>"],
22+
"maintainers": [
23+
"Simon Fridlund <simon@fridlund.email>"
24+
],
2225
"license": "MIT",
2326
"dependencies": {
2427
"arrify": "^1.0.1",
@@ -27,12 +30,12 @@
2730
"camelcase-keys": "^4.1.0",
2831
"chalk": "2.3.0",
2932
"common-tags": "^1.4.0",
30-
"eslint": "^4.5.0",
3133
"find-up": "^2.1.0",
3234
"get-stdin": "^5.0.1",
3335
"glob": "^7.1.1",
3436
"ignore": "^3.2.7",
3537
"indent-string": "^3.1.0",
38+
"eslint": "^5.0.0",
3639
"lodash.memoize": "^4.1.2",
3740
"loglevel-colored-level-prefix": "^1.0.0",
3841
"messageformat": "^1.0.2",
@@ -65,7 +68,10 @@
6568
"yargs-parser": "8.0.0"
6669
},
6770
"lint-staged": {
68-
"*.+(js|json|md)": ["node ./dist/index --write", "git add"]
71+
"*.+(js|json|md)": [
72+
"node ./dist/index --write",
73+
"git add"
74+
]
6975
},
7076
"repository": {
7177
"type": "git",

0 commit comments

Comments
 (0)