From f709c2024f346bed054ab8f66e680c03025e3324 Mon Sep 17 00:00:00 2001 From: Ben Scott Date: Mon, 28 May 2018 11:42:11 -0700 Subject: [PATCH] Stop prettier rampaging over markdown files The 'proseWrap' setting forces line wrapping in markdown files, which results in really blatant reformatting of everything. I'm not currently convinced we want that as we may often want to rely on soft-wrapping as Github-flavoured markdown is sometimes sensitive to newlines. Go back to the default behaviour of prettier which is `proseWrap:"preserve"`. Remove explicitly setting the printWidth as it defaults to 80 anyway. --- .prettierrc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.prettierrc b/.prettierrc index 209289343e6..fc63f07483a 100644 --- a/.prettierrc +++ b/.prettierrc @@ -2,7 +2,5 @@ "arrowParens": "always", "singleQuote": true, "trailingComma": "all", - "bracketSpacing": false, - "proseWrap": "always", - "printWidth": 80 + "bracketSpacing": false }