From 77e853b9299b441a693bfd2e6b4868dc45a09689 Mon Sep 17 00:00:00 2001 From: Andrii Bogomolov Date: Tue, 29 Oct 2024 17:24:18 +0100 Subject: [PATCH] fix/packege.json --- frontend/.eslintrc.json | 2 +- frontend/package-lock.json | 29 ----------------------------- frontend/package.json | 3 --- 3 files changed, 1 insertion(+), 33 deletions(-) diff --git a/frontend/.eslintrc.json b/frontend/.eslintrc.json index 4a4713cc..261a0fcb 100644 --- a/frontend/.eslintrc.json +++ b/frontend/.eslintrc.json @@ -8,7 +8,7 @@ }, "parserOptions": { "sourceType": "module", - "ecmaVersion": 2018, + "ecmaVersion": 2022, "ecmaFeatures": { "jsx": true } diff --git a/frontend/package-lock.json b/frontend/package-lock.json index cfdaddbb..17d5333d 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -26,9 +26,6 @@ "@types/jest": "^29.5.14", "babel-jest": "^29.7.0", "eslint": "^8.57.1", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-react": "^7.37.2", - "eslint-plugin-react-hooks": "^5.0.0", "globals": "^15.11.0", "jest": "^27.5.1", "prettier": "^3.3.3", @@ -8709,19 +8706,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint-config-prettier": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz", - "integrity": "sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==", - "dev": true, - "license": "MIT", - "bin": { - "eslint-config-prettier": "bin/cli.js" - }, - "peerDependencies": { - "eslint": ">=7.0.0" - } - }, "node_modules/eslint-import-resolver-node": { "version": "0.3.9", "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", @@ -8901,19 +8885,6 @@ "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7" } }, - "node_modules/eslint-plugin-react-hooks": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.0.0.tgz", - "integrity": "sha512-hIOwI+5hYGpJEc4uPRmz2ulCjAGD/N13Lukkh8cLV0i2IRk/bdZDYjgLVHj+U9Z704kLIdIO6iueGvxNur0sgw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0" - } - }, "node_modules/eslint-plugin-react/node_modules/doctrine": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", diff --git a/frontend/package.json b/frontend/package.json index e2104553..29821cb4 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -42,9 +42,6 @@ "@types/jest": "^29.5.14", "babel-jest": "^29.7.0", "eslint": "^8.57.1", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-react": "^7.37.2", - "eslint-plugin-react-hooks": "^5.0.0", "globals": "^15.11.0", "jest": "^27.5.1", "prettier": "^3.3.3",