diff --git a/react-app/eslint.config.js b/react-app/eslint.config.js index 391298c..3afba5f 100644 --- a/react-app/eslint.config.js +++ b/react-app/eslint.config.js @@ -24,7 +24,7 @@ export default [ ] }, "plugins": ["react", "import", "jsx-a11y"], - "parser": "react-scripts/node_modules/babel-eslint", + "parser": "@babel/eslint-parser", "parserOptions": { "ecmaVersion": 2018, "sourceType": "module", diff --git a/react-app/package-lock.json b/react-app/package-lock.json index 9c97c77..4f964ba 100644 --- a/react-app/package-lock.json +++ b/react-app/package-lock.json @@ -22,6 +22,7 @@ "sass": "^1.56.1" }, "devDependencies": { + "@babel/eslint-parser": "^7.16.3", "eslint-config-airbnb": "^18.2.1", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.23.4", diff --git a/react-app/package.json b/react-app/package.json index 516abc5..3d52801 100644 --- a/react-app/package.json +++ b/react-app/package.json @@ -39,6 +39,7 @@ "sass": "^1.56.1" }, "devDependencies": { + "@babel/eslint-parser": "^7.16.3", "eslint-config-airbnb": "^18.2.1", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.23.4",