From 30b0d9b3f303a43eeb340482a567a50145437f27 Mon Sep 17 00:00:00 2001 From: Rain <958414905@qq.com> Date: Tue, 25 Jul 2023 16:29:49 +0800 Subject: [PATCH] chore: fix prettier --- package.json | 1 - packages/core/devtools/package.json | 4 ++-- yarn.lock | 17 ++++++++++------- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index d7bcb62119..5b32e4d978 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,6 @@ "ghooks": "^2.0.4", "jsdom-worker": "^0.3.0", "lint-staged": "^13.2.3", - "prettier": "^3.0.0", "pretty-format": "^24.0.0", "pretty-quick": "^3.1.0", "react": "^18.0.0", diff --git a/packages/core/devtools/package.json b/packages/core/devtools/package.json index d37cb92201..1bfd5d3868 100644 --- a/packages/core/devtools/package.json +++ b/packages/core/devtools/package.json @@ -23,7 +23,7 @@ "eslint-plugin-import": "^2.27.5", "eslint-plugin-markdown": "^3.0.0", "eslint-plugin-node": "^11.1.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", @@ -35,7 +35,7 @@ "jest-watch-lerna-packages": "^1.1.0", "jsdom": "^16.0.0", "lerna": "^4.0.0", - "prettier": "^2.2.1", + "prettier": "^3.0.0", "pretty-format": "^24.0.0", "pretty-quick": "^3.1.0", "react": "^18.0.0", diff --git a/yarn.lock b/yarn.lock index 5b73222738..c84d1b65f8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11808,11 +11808,13 @@ eslint-plugin-node@^11.1.0: resolve "^1.10.1" semver "^6.1.0" -eslint-plugin-prettier@^4.2.1: - version "4.2.1" - resolved "https://registry.npmmirror.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz#651cbb88b1dab98bfd42f017a12fa6b2d993f94b" +eslint-plugin-prettier@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/eslint-plugin-prettier/-/eslint-plugin-prettier-5.0.0.tgz#6887780ed95f7708340ec79acfdf60c35b9be57a" + integrity sha512-AgaZCVuYDXHUGxj/ZGu1u8H8CYgDY3iG6w5kUFw4AzMVXzB7VvbKgYR4nATIN+OvUrghMbiDLeimVjVY5ilq3w== dependencies: prettier-linter-helpers "^1.0.0" + synckit "^0.8.5" eslint-plugin-promise@^6.1.1: version "6.1.1" @@ -20404,9 +20406,10 @@ prettier@2.2.1: version "2.2.1" resolved "https://registry.npmmirror.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5" -prettier@^2.2.1: - version "2.8.8" - resolved "https://registry.npmmirror.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" +prettier@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/prettier/-/prettier-3.0.0.tgz#e7b19f691245a21d618c68bc54dc06122f6105ae" + integrity sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g== pretty-error@^4.0.0: version "4.0.0" @@ -23660,7 +23663,7 @@ symbol-tree@^3.2.2, symbol-tree@^3.2.4: version "3.2.4" resolved "https://registry.npmmirror.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" -synckit@0.8.5: +synckit@0.8.5, synckit@^0.8.5: version "0.8.5" resolved "https://registry.npmmirror.com/synckit/-/synckit-0.8.5.tgz#b7f4358f9bb559437f9f167eb6bc46b3c9818fa3" dependencies: