Allow option to use single-quotes instead of double-quotes to wrap YAML KVs
Open
enhancement
stdlib
- Dominant language
- Jsonnet
- Stars
- 7.6k
- Forks
- 475
- PR merge metrics
- No merged PRs in 30d
Description
```yaml
---
hello: there
'hi': 'there'
"is": "this okay?"
```
^ This passes `yamllint`.
Would it be agreeable to add an arg to `std.manifestYamlDoc()` and similar functions to emit the `'hi': 'there'` style instead of the `"is": "this okay?"`? As in jsonnet source code, single quotes are significantly easier to read at scale in YAML.
Contributor guide
Assessment
This issue has not been assessed yet.