-
-
Notifications
You must be signed in to change notification settings - Fork 376
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
.htmlhintrc
silently ignored if not valid JSON
#662
Labels
keep-unstale
The issue will not be marked as stale by the stale-bot
Comments
.htmlhintrc
silently ignored if not valid JSON
I agree, for example the docs use single quotes in the examples, but it is only valid with double quotes |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
is2ei
added a commit
to is2ei/HTMLHint
that referenced
this issue
Jan 30, 2022
is2ei
added a commit
to is2ei/HTMLHint
that referenced
this issue
Jan 30, 2022
is2ei
added a commit
to is2ei/HTMLHint
that referenced
this issue
Jan 30, 2022
is2ei
added a commit
to is2ei/HTMLHint
that referenced
this issue
Jan 30, 2022
is2ei
added a commit
to is2ei/HTMLHint
that referenced
this issue
Jan 30, 2022
is2ei
added a commit
to is2ei/HTMLHint
that referenced
this issue
Jul 23, 2022
coliff
pushed a commit
that referenced
this issue
Sep 6, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the
.htmlhintrc
is not valid JSON, the linter silently ignores it and uses a default config.For example, I had made the mistake of keeping a trailing comma:
The default config has
"attr-lowerclase": true
and I received a lot of unwanted errors. It took me a while to figure out that the malformatted JSON was the culprit.It would be helpful if the linter at least displayed a warning log message upon execution if it cannot parse the config file.
The text was updated successfully, but these errors were encountered: