From 55e58d1a6bc516067dc99b769cf5f46337c4d841 Mon Sep 17 00:00:00 2001 From: lujie Date: Mon, 20 Jun 2022 14:53:15 +0800 Subject: [PATCH] chore: update prettier config --- .prettierignore | 1 - .prettierrc | 12 ++++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.prettierignore b/.prettierignore index 0e6aca6a86..73157fd376 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,4 +1,3 @@ -packages/**/*.md packages/**/*.mdx package.json .umi diff --git a/.prettierrc b/.prettierrc index 3d2bd998df..a1c94a1cf1 100644 --- a/.prettierrc +++ b/.prettierrc @@ -5,7 +5,15 @@ "overrides": [ { "files": ".prettierrc", - "options": { "parser": "json" } + "options": { + "parser": "json" + } + }, + { + "files": ["*.md"], + "options": { + "embeddedLanguageFormatting": "off" + } } ] -} \ No newline at end of file +}