From 1bf7beb6fea7e9426ddff1e48b71ce30e41c8336 Mon Sep 17 00:00:00 2001 From: auvred Date: Wed, 5 Jul 2023 18:39:30 +0000 Subject: [PATCH 1/2] fix: compatibility with prettier@3 without plugins --- worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker.js b/worker.js index db426859..80630475 100644 --- a/worker.js +++ b/worker.js @@ -48,7 +48,7 @@ runAsWorker( withNodeModules: false, ignorePath: '.prettierignore', plugins: /** @type {string[] | undefined} */ ( - prettierRcOptions ? prettierRcOptions.plugins : null + prettierRcOptions ? prettierRcOptions.plugins : undefined ), ...eslintFileInfoOptions, }, From 3f458c5acc72eaafb25ec9de00c4939ba9a00c63 Mon Sep 17 00:00:00 2001 From: JounQin Date: Thu, 6 Jul 2023 09:16:01 +0800 Subject: [PATCH 2/2] Create stale-guests-battle.md --- .changeset/stale-guests-battle.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/stale-guests-battle.md diff --git a/.changeset/stale-guests-battle.md b/.changeset/stale-guests-battle.md new file mode 100644 index 00000000..93873fda --- /dev/null +++ b/.changeset/stale-guests-battle.md @@ -0,0 +1,5 @@ +--- +"eslint-plugin-prettier": patch +--- + +fix: compatibility with prettier@3 without plugins