Files
test-repo/changelog_unreleased/yaml/18324.md
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
265 B
Markdown
Raw Normal View History

#### Use explicit key style for flow-mapping keys with trailing comments (#18324 by @kovsu, @fisker)
<!-- prettier-ignore -->
```yaml
# Input
{ "foo" # comment
:bar }
# Prettier stable
{ "foo": bar } # comment
# Prettier main
{ ? "foo" # comment
: bar }
```