From f621461ba88772e1d8bc58bd6ba6de2685e39441 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Mon, 28 Jul 2025 13:41:37 +0530 Subject: [PATCH] Prettier: preserve proseWrap Always inserts linebreaks in positions that can break markdown content. --- desktop/.prettierrc.json | 1 - docs/.prettierrc.json | 3 +-- infra/staff/.prettierrc.json | 1 - infra/workers/.prettierrc.json | 3 +-- web/.prettierrc.json | 1 - 5 files changed, 2 insertions(+), 7 deletions(-) diff --git a/desktop/.prettierrc.json b/desktop/.prettierrc.json index 5c2751a5f9..0fe565bdad 100644 --- a/desktop/.prettierrc.json +++ b/desktop/.prettierrc.json @@ -1,6 +1,5 @@ { "tabWidth": 4, - "proseWrap": "always", "objectWrap": "collapse", "plugins": [ "prettier-plugin-organize-imports", diff --git a/docs/.prettierrc.json b/docs/.prettierrc.json index 8af31cded5..0a02bcefda 100644 --- a/docs/.prettierrc.json +++ b/docs/.prettierrc.json @@ -1,4 +1,3 @@ { - "tabWidth": 4, - "proseWrap": "always" + "tabWidth": 4 } diff --git a/infra/staff/.prettierrc.json b/infra/staff/.prettierrc.json index 7cf8c86c77..8b06525972 100644 --- a/infra/staff/.prettierrc.json +++ b/infra/staff/.prettierrc.json @@ -1,6 +1,5 @@ { "tabWidth": 4, - "proseWrap": "always", "plugins": [ "prettier-plugin-organize-imports", "prettier-plugin-packagejson" diff --git a/infra/workers/.prettierrc.json b/infra/workers/.prettierrc.json index 8af31cded5..0a02bcefda 100644 --- a/infra/workers/.prettierrc.json +++ b/infra/workers/.prettierrc.json @@ -1,4 +1,3 @@ { - "tabWidth": 4, - "proseWrap": "always" + "tabWidth": 4 } diff --git a/web/.prettierrc.json b/web/.prettierrc.json index 61cbc54727..bac8f0c074 100644 --- a/web/.prettierrc.json +++ b/web/.prettierrc.json @@ -1,6 +1,5 @@ { "tabWidth": 4, - "proseWrap": "always", "objectWrap": "collapse", "plugins": [ "prettier-plugin-organize-imports",