htmlhint-loader icon indicating copy to clipboard operation
htmlhint-loader copied to clipboard

Use `strip-json-comments` before parsing the config file.

Open malash opened this issue 5 years ago • 0 comments

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

malash avatar May 13 '19 09:05 malash