prettier/tests/yaml_plain
Ika 10df246772
feat(yaml): do not put singleline values on a separate line from the key (#4916)
Only apply to `alias` and `plain`/`quoteSingle`/`quoteDouble` with

- no backslash newline
- or no literal newline and `proseWrap: preserve`
- or no newline and `proseWrap: never`
- or no whitespace and `proseWrap: always`

in mapping items with implicit key, otherwise it's impossible to do prose wrapping.
2018-08-02 00:15:33 +08:00
..
__snapshots__ feat(yaml): do not put singleline values on a separate line from the key (#4916) 2018-08-02 00:15:33 +08:00
force-singleline-in-mapping-value.yml feat(yaml): do not put singleline values on a separate line from the key (#4916) 2018-08-02 00:15:33 +08:00
jsfmt.spec.js feat(yaml): support proseWrap (#4742) 2018-07-04 00:28:47 +08:00
middle-comment.yml feat: support YAML (#4563) 2018-06-21 10:29:42 +08:00
middle-comments.yml feat: support YAML (#4563) 2018-06-21 10:29:42 +08:00
multiline.yml feat(yaml): support proseWrap (#4742) 2018-07-04 00:28:47 +08:00
true.yml feat: support YAML (#4563) 2018-06-21 10:29:42 +08:00
verbatim.yml feat: support YAML (#4563) 2018-06-21 10:29:42 +08:00