Skip to content

Commit f7bdabe

Browse files
committed
chore: go back to @babel/eslint-parser
1 parent 5cc97fb commit f7bdabe

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

.eslintrc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66
"prettier/babel",
77
"prettier/flowtype"
88
],
9-
"parserOptions": {
10-
"ecmaVersion": 2019,
11-
"sourceType": "module"
12-
},
9+
"parser": "@babel/eslint-parser",
1310
"env": {
1411
"es2017": true
1512
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
"devDependencies": {
7777
"@babel/cli": "^7.12.10",
7878
"@babel/core": "^7.12.10",
79+
"@babel/eslint-parser": "^7.12.13",
7980
"@babel/plugin-proposal-class-properties": "^7.12.1",
8081
"@babel/plugin-proposal-export-default-from": "^7.12.1",
8182
"@babel/plugin-proposal-export-namespace-from": "^7.12.1",

yarn.lock

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,15 @@
5252
semver "^5.4.1"
5353
source-map "^0.5.0"
5454

55+
"@babel/eslint-parser@^7.12.13":
56+
version "7.12.13"
57+
resolved "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.12.13.tgz#f3158c28ed9eecd95fb75ee3015033b8b3b869b2"
58+
integrity sha512-+VF2M8ZWXc2KVf6L0tFcv6w8IZkCc1rvN65oj6hXxhYtOanlCA6ONpgEdy/HVGmcogu4El4ohdzuyfWYxSsKow==
59+
dependencies:
60+
eslint-scope "5.1.0"
61+
eslint-visitor-keys "^1.3.0"
62+
semver "^6.3.0"
63+
5564
"@babel/generator@^7.12.10", "@babel/generator@^7.12.11":
5665
version "7.12.11"
5766
resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.12.11.tgz#98a7df7b8c358c9a37ab07a24056853016aba3af"
@@ -2978,6 +2987,14 @@ eslint-plugin-flowtype@^5.2.0:
29782987
lodash "^4.17.15"
29792988
string-natural-compare "^3.0.1"
29802989

2990+
eslint-scope@5.1.0:
2991+
version "5.1.0"
2992+
resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.0.tgz#d0f971dfe59c69e0cada684b23d49dbf82600ce5"
2993+
integrity sha512-iiGRvtxWqgtx5m8EyQUJihBloE4EnYeGE/bz1wSPwJE6tZuJUtHlhqDM4Xj2ukE8Dyy1+HCZ4hE0fzIVMzb58w==
2994+
dependencies:
2995+
esrecurse "^4.1.0"
2996+
estraverse "^4.1.1"
2997+
29812998
eslint-scope@^5.0.0, eslint-scope@^5.1.1:
29822999
version "5.1.1"
29833000
resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c"
@@ -3081,7 +3098,7 @@ esquery@^1.0.1, esquery@^1.2.0:
30813098
dependencies:
30823099
estraverse "^5.1.0"
30833100

3084-
esrecurse@^4.3.0:
3101+
esrecurse@^4.1.0, esrecurse@^4.3.0:
30853102
version "4.3.0"
30863103
resolved "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921"
30873104
integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==

0 commit comments

Comments
 (0)