Skip to content

Commit 535bc04

Browse files
authored
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 bf54e62 commit 535bc04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react-app/eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default [
2424
]
2525
},
2626
"plugins": ["react", "import", "jsx-a11y"],
27-
"parser": "react-scripts/node_modules/babel-eslint",
27+
"parser": "@babel/eslint-parser",
2828
"parserOptions": {
2929
"ecmaVersion": 2018,
3030
"sourceType": "module",

0 commit comments

Comments
 (0)