Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
6 changed files
with
208 additions
and
77 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
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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
no-whitesapce: longlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglong | ||
|
||
whitespace: longlonglonglonglonglonglonglonglonglonglong longlonglonglonglonglonglonglonglonglonglong | ||
|
||
literal-newline: longlonglonglonglonglonglonglonglonglonglong | ||
longlonglonglonglonglonglonglonglonglonglong | ||
|
||
newline: longlonglonglonglonglonglonglonglonglonglong | ||
|
||
longlonglonglonglonglonglonglonglonglonglong |