Skip to content

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

Open
@malash

Description

@malash

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions