imbal / safeyaml

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

add info about optional commas in readme #2

Closed ghost closed 6 years ago

ghost commented 6 years ago

assuming they are optional, this would be nice to explain in the readme

tef commented 6 years ago

They aren't, they follow json* rules inside of {} and [], but yaml indented lists don't use commas.

*The trailing comma isn't allowed in json, but is in YAML, and in the Readme

ghost commented 6 years ago

ah ok, was thinking since the section i modified was based off json it'd be nice to explain but that makes sense