Skip to content

Commit 00d864d

Browse files
committed
feature(fileop) babel-parser -> @babel/parser-eslint
1 parent 2d5f927 commit 00d864d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.eslintrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"env": {
33
"node": true
44
},
5-
"parser": "babel-eslint",
5+
"parser": "@babel/eslint-parser",
66
"parserOptions": {
7-
"ecmaVersion": 2020,
7+
"ecmaVersion": 2021,
88
"sourceType": "module",
99
"allowImportExportEverywhere": true,
1010
"classPrivateMethods": true

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"mellow": "^2.0.0",
5454
"onezip": "^4.0.0",
5555
"remy": "^5.0.0",
56+
"try-to-catch": "^3.0.0",
5657
"wraptile": "^3.0.0"
5758
},
5859
"devDependencies": {
@@ -63,7 +64,6 @@
6364
"@babel/preset-env": "^7.0.0",
6465
"@babel/register": "^7.0.0",
6566
"@iocmd/wait": "^1.0.0",
66-
"babel-eslint": "^11.0.0-beta",
6767
"babel-loader": "^8.0.0",
6868
"babel-plugin-dynamic-import-node": "^2.0.0",
6969
"babel-plugin-dynamic-import-webpack": "^1.0.1",
@@ -85,7 +85,6 @@
8585
"socket.io": "^2.0.1",
8686
"socket.io-client": "^2.0.1",
8787
"supertape": "^2.0.1",
88-
"try-to-catch": "^3.0.0",
8988
"webpack": "^4.1.0",
9089
"webpack-cli": "^3.0.3"
9190
},

0 commit comments

Comments
 (0)