prettier/tests/yaml_prettier_ignore
Ika db2bc3636d
fix(yaml): update parsers (#5027)
- upgrade to `yaml@1.0.0-rc.8` and `yaml-unist-parser@1.0.0-rc.4`
- refactor some logic since the AST has slightly changed (ikatyang/yaml-unist-parser#82)
- unmatched aliases are now errors since it may introduce invalid AST from `yaml`
- rewrite the document separator (`...`/`---`) logic, this fixes some cases where it can use `---` but we printed `...`
- removed some unnecessary duplicate trailing newline
- trailing comments on `document` (`... #comment`) and `documentHead` (`--- #comment`) are preserved (i.e. they won't be moved somewhere)
2018-09-01 20:04:37 +08:00
..
__snapshots__ fix(yaml): update parsers (#5027) 2018-09-01 20:04:37 +08:00
document.yml feat: support YAML (#4563) 2018-06-21 10:29:42 +08:00
jsfmt.spec.js feat: support YAML (#4563) 2018-06-21 10:29:42 +08:00
leading-comment.yml feat: support YAML (#4563) 2018-06-21 10:29:42 +08:00
middle-comment.yml feat: support YAML (#4563) 2018-06-21 10:29:42 +08:00
trailing-comma.yml feat: support YAML (#4563) 2018-06-21 10:29:42 +08:00
trailing-comment.yml feat: support YAML (#4563) 2018-06-21 10:29:42 +08:00