chore(playground): add new options#3350
Conversation
suchipi
left a comment
There was a problem hiding this comment.
It'd be cool if someday the HTML was generated from cli-constant
| category: CATEGORY_FORMAT, | ||
| forwardToApi: true, | ||
| description: "Include parentheses around a sole arrow function parameter.", | ||
| default: "avoid", |
There was a problem hiding this comment.
Are you going to fill this back in once we've decided on the new default?
There was a problem hiding this comment.
Oops, forgot to mention why I removed this line: we use the default value from options.js for all format options.
Lines 574 to 576 in fbbfa52
There was a problem hiding this comment.
Hmm, that's feels a bit unintuitive, but changing it is out of the scope of this PR
|
Currently the playground uses the released version of Prettier (from package.json) so this won't actually work if we merge it. |
|
I added the 1.9 milestone just to help us remember it's related (and merge after release) but feel free to remove if you think someone might think this is a blocker. |
|
So to clarify, this should be merged post release? |
|
Yes. After prettier's own dependency on prettier is updated to 1.9.0 |
Fixes #3338
proseWrap: "preserve"option #3340