imbal / safeyaml

SafeYAML: A linter for YAML-favoured JSON (& autoformatting too!)
240 stars 11 forks source link

CloudFormation YAML uses !tags #3

Open tef opened 6 years ago

tef commented 6 years ago

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html

tef commented 6 years ago

We could add a --allow-tags option but we'd also need to improve unquoted value handling too. These examples are a little out of scope, but perhaps a --format=cloudformation might be an idea.

Looking towards pandoc, it uses formats of name+option-option+option like rst+atx_headers.

tef commented 6 years ago

It remains out of scope until someone yells loudly enough. This issue remains open until then, I guess.