Skip to content

Add strict mode#88

Merged
szeiger merged 1 commit intodatabricks:masterfrom
szeiger:issue/87
Aug 25, 2020
Merged

Add strict mode#88
szeiger merged 1 commit intodatabricks:masterfrom
szeiger:issue/87

Conversation

@szeiger
Copy link
Copy Markdown
Collaborator

@szeiger szeiger commented Aug 25, 2020

This makes adjacent object literals an error. Fixes #87

This makes adjacent object literals an error. Fixes databricks#87
Copy link
Copy Markdown
Contributor

@lihaoyi-databricks lihaoyi-databricks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm feel free to merge when ready

@szeiger szeiger merged commit dd62b1d into databricks:master Aug 25, 2020
@iuliand-db
Copy link
Copy Markdown
Contributor

I wonder if this isn't too strict, perhaps we should disallow it only inside lists? Wondering how well this would fare on our existing body of jsonnet. :)

@lihaoyi-databricks
Copy link
Copy Markdown
Contributor

@iuliand-db I'd say this is probably OK, as we have the flexibility to adjust our existing body of Jsonnet accordingly. The golden ZZZ files should make it pretty easy to notice all the places where we need to tweak, and it should be easy to add a + in the cases where it's intentional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants