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

Use strip-json-comments before parsing the config file. #21

Open
malash opened this issue May 13, 2019 · 0 comments
Open

Use strip-json-comments before parsing the config file. #21

malash opened this issue May 13, 2019 · 0 comments

Comments

@malash
Copy link

malash commented May 13, 2019

Is your feature request related to a problem? Please describe.

htmlhint use strip-json-comments for config file so you can use comments inside the .htmlhintrc file.

Code here: https://github.com/htmlhint/HTMLHint/blob/85a1c78984a8ec09ab17595efba2e6ac479e6f31/bin/htmlhint#L319

But htmlhint-loader doesn't support it.

Describe the solution you'd like

Use strip-json-comments

Describe alternatives you've considered

I advice to use http://json5.org/

Additional context

None

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