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

fix(config): use json5 parser for json5 build configs #1578

Closed

Conversation

black-snow
Copy link
Contributor

Use json5 parser to parse json5 build configs (i. e. files ending on
"json5").
Json5 can have javascript-style comments whereas yaml does not. Thus we
cannot
use the yaml parser for json5.

Use json5 parser to parse json5 build configs (i. e. files ending on
"json5").
Json5 can have javascript-style comments whereas yaml does not. Thus we
cannot
use the yaml parser for json5.
@mention-bot
Copy link

@black-snow, thanks for your PR! By analyzing the history of the files in this pull request, we identified @BurningEnlightenment, @Anmo and @stefanjudis to be potential reviewers.

@black-snow
Copy link
Contributor Author

@develar Sadly I don't know how to correctly import modules in typescript (hence the require). Hope I met the coding style and commit format.

@develar
Copy link
Member

develar commented May 23, 2017

Ignore CI errors — bintray issues.

Thanks! I will merge soon (I will add typings for json5).

develar pushed a commit that referenced this pull request May 23, 2017
Use json5 parser to parse json5 build configs (i. e. files ending on
"json5").
Json5 can have javascript-style comments whereas yaml does not. Thus we
cannot use the yaml parser for json5.

Close #1569, #1578
@develar develar closed this May 23, 2017
@black-snow black-snow deleted the json5comments branch May 23, 2017 19:31
@black-snow
Copy link
Contributor Author

Thanks for looking into this.

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.

3 participants