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

Fails to parse JSON options file containing comments #36

Open
manderson23 opened this issue Oct 6, 2014 · 0 comments
Open

Fails to parse JSON options file containing comments #36

manderson23 opened this issue Oct 6, 2014 · 0 comments

Comments

@manderson23
Copy link

The ant task fails to parse JSON options files that contain comments.

e.g. https://github.com/airbnb/javascript/blob/master/linters/jshintrc

Example error message

[jshint] Could not load properties file: Unexpected character ('/' (code 47)): maybe a (non-standard) comment? (not recognized as one since Feature 'ALLOW_COMMENTS' not enabled for parser)
[jshint]  at [Source: tools/resources/.jshintrc; line: 2, column: 4]
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

No branches or pull requests

1 participant