Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add simpleKeys option #122

Merged
merged 1 commit into from
Sep 25, 2019
Merged

Add simpleKeys option #122

merged 1 commit into from
Sep 25, 2019

Conversation

eemeli
Copy link
Owner

@eemeli eemeli commented Sep 24, 2019

Fixes #88

Ping @seansfkelley; would this work for you? simpleKeys does a bit more than you asked for, as it'll not only prevent explicit keys like ? foo from being used, but it'll also throw errors when a collection would be used as a key, e.g. [ foo ]: bar, which is otherwise valid YAML.

@seansfkelley
Copy link

Yup, this should more than handle my use-case. I didn't even know some of those syntaxes were legal. o_O

Thanks for taking the time to add this option!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

null in object value
2 participants