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)