From dea0b74ee7af81f1379558d18a378d86539bbb30 Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Fri, 1 Nov 2024 15:41:30 +0100 Subject: [PATCH] fix docs formatting --- tools/utils/docs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/utils/docs.ts b/tools/utils/docs.ts index a4f6e66..d734879 100644 --- a/tools/utils/docs.ts +++ b/tools/utils/docs.ts @@ -106,7 +106,7 @@ export const updateRulesDocs = async (rulesList: TRulesList[]) => { const updatedDocFile = await format(overWriteRuleDocs(rule, ruleDocFile), { parser: 'markdown', - ...prettierConfig, + ...(await prettierConfig), }) await writeFile(ruleDocFilePath, updatedDocFile)