From b204f92b6b81968b9c718fe42f7b87bbd89568c3 Mon Sep 17 00:00:00 2001 From: Wes Haggard Date: Thu, 7 Sep 2023 09:31:19 -0700 Subject: [PATCH] Fix prettier config to work locally and in unified pipeline (#25705) The unified pipeline expects the plugin to live in under scripts so we cannot move it to eng/scripts until we change the unified pipeline to use the prettier in the repo. --- .prettierrc.json | 2 +- {eng/scripts => scripts}/prettier-swagger-plugin.js | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {eng/scripts => scripts}/prettier-swagger-plugin.js (100%) diff --git a/.prettierrc.json b/.prettierrc.json index 93b4f718c039..c1d4aa50bb5a 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -8,7 +8,7 @@ ], "options": { "plugins": [ - "./eng/scripts/prettier-swagger-plugin.js" + "./scripts/prettier-swagger-plugin.js" ], "parser": "json-swagger", "printWidth": 20, diff --git a/eng/scripts/prettier-swagger-plugin.js b/scripts/prettier-swagger-plugin.js similarity index 100% rename from eng/scripts/prettier-swagger-plugin.js rename to scripts/prettier-swagger-plugin.js