Skip to content

Commit

Permalink
Use @babel/eslint-parser instead of babel-eslint
Browse files Browse the repository at this point in the history
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
  • Loading branch information
victorlin committed Jan 5, 2023
1 parent 234f502 commit 6c6efc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-app/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
]
},
"plugins": ["react", "import", "jsx-a11y"],
"parser": "react-scripts/node_modules/babel-eslint",
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
Expand Down

0 comments on commit 6c6efc2

Please sign in to comment.