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 +}