Skip to content

Commit 6c6efc2

Browse files
committed
Use @babel/eslint-parser instead of babel-eslint
Not sure why babel-eslint was used when it was missing from package-lock. Use the newer NPM package¹, which is already installed by another dependency. ¹ https://www.npmjs.com/package/babel-eslint
1 parent 234f502 commit 6c6efc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react-app/.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
]
2323
},
2424
"plugins": ["react", "import", "jsx-a11y"],
25-
"parser": "react-scripts/node_modules/babel-eslint",
25+
"parser": "@babel/eslint-parser",
2626
"parserOptions": {
2727
"ecmaVersion": 2018,
2828
"sourceType": "module",

0 commit comments

Comments
 (0)