From 609305adf435381e9f8f06ed10739fdc4a0b5745 Mon Sep 17 00:00:00 2001 From: Rikki Date: Wed, 7 Dec 2022 11:04:41 +0100 Subject: [PATCH] fix changelog formatting issue hopefully Hoping this fix will help us https://github.com/changesets/changesets/issues/774 --- .prettierrc | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.prettierrc b/.prettierrc index f431ccacfce..ce99e216b66 100644 --- a/.prettierrc +++ b/.prettierrc @@ -2,5 +2,20 @@ "singleQuote": true, "trailingComma": "all", "arrowParens": "avoid", - "proseWrap": "always" + "proseWrap": "never", + "overrides": [ + { + "files": ["*.md", "*.mdx"], + "options": { + "printWidth": 80, + "proseWrap": "always" + } + }, + { + "files": ["**/.changeset/*.md"], + "options": { + "proseWrap": "never" + } + } + ] }