mirror of
https://github.com/google/go-jsonnet.git
synced 2026-05-05 03:56:11 +02:00
manifestYamlDoc takes two optional parameters, `indent_array_in_object` and `quote_keys`. This commit teaches jsonnet-lint about them so that it doesn't raise errors when you use them. There are other stdlib library functions with this problem; the true solution is probably to auto-generate this from the stdlib AST, but this at least gets the linter happy with this particular function.
4 lines
90 B
Jsonnet
4 lines
90 B
Jsonnet
std.manifestYamlDoc({
|
|
hello: 'world',
|
|
}, indent_array_in_object=false, quote_keys=true)
|