This website requires JavaScript.
Explore
Help
Sign In
vitalif
/
prettier
Watch
1
Star
0
Fork
You've already forked prettier
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
6a45924379
prettier
/
tests
/
yaml_flow_mapping
/
alias-key.yml
2 lines
23 B
YAML
Raw
Normal View
History
Unescape
Escape
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 15:04:37 +03:00
{
&123
foo, *123
:
456
}