Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build(deps): Bump yaml-unist-parser from 1.3.0 to 1.3.1 (#9169)
* Build(deps): Bump yaml-unist-parser from 1.3.0 to 1.3.1 Bumps [yaml-unist-parser](https://github.com/ikatyang/yaml-unist-parser) from 1.3.0 to 1.3.1. - [Release notes](https://github.com/ikatyang/yaml-unist-parser/releases) - [Changelog](https://github.com/ikatyang/yaml-unist-parser/blob/master/CHANGELOG.md) - [Commits](prettier/yaml-unist-parser@v1.3.0...v1.3.1) Signed-off-by: dependabot[bot] <support@github.com> * Update snapshot * Update changelog * spellcheck Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: fisker <lionkay@gmail.com>
- Loading branch information
1 parent
ec1b419
commit 9153bf2
Showing
5 changed files
with
35 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,41 @@ | ||
#### Fix printing doubles a blank line before a comment (#9143 by @sosukesuzuki) | ||
#### Fix comment printing in mapping and sequence (#9143, #9169 by @sosukesuzuki, @fisker, fix in `yaml-unist-parser` by @ikatyang) | ||
|
||
<!-- prettier-ignore --> | ||
```yaml | ||
# Input | ||
- foo: 0 | ||
bar: 1 | ||
- a | ||
# Should indent | ||
- bb | ||
|
||
# baz: 2 | ||
- quux: 3 | ||
--- | ||
- a: a | ||
b: b | ||
|
||
# Should print one empty line before | ||
- another | ||
|
||
# Prettier stable | ||
- foo: 0 | ||
bar: 1 | ||
- a | ||
# Should indent | ||
- bb | ||
|
||
--- | ||
- a: a | ||
b: b | ||
|
||
|
||
# baz: 2 | ||
- quux: 3 | ||
# Should print one empty line before | ||
- another | ||
|
||
# Prettier master | ||
- foo: 0 | ||
bar: 1 | ||
- a | ||
# Should indent | ||
- bb | ||
|
||
# baz: 2 | ||
- quux: 3 | ||
--- | ||
- a: a | ||
b: b | ||
|
||
# Should print one empty line before | ||
- another | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters