Skip to content

Commit

Permalink
Stop prettier rampaging over markdown files
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
BPScott committed May 28, 2018
1 parent 080ead6 commit f709c20
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@
"arrowParens": "always",
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": false,
"proseWrap": "always",
"printWidth": 80
"bracketSpacing": false
}

0 comments on commit f709c20

Please sign in to comment.