We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Upon writing custom rules, we often encounter that HTMLHint does not notify us about broken rules.
To Reproduce
module.exports = HTMLHint > { };
Expected behavior Like in #662 it is expected, that at least some warning is shown, which rule could not be loaded.
Additional context
The result is to be expected due to catching all errors regarding rule imports and ignoring them:
HTMLHint/src/cli/htmlhint.ts
Line 210 in e147134
The text was updated successfully, but these errors were encountered:
I saw, that #662 was fixed with bad68d9. I guess, that the solution could be pretty similar. I am unsure where to put the test-rules.
Maybe a new folder?
/test/test-rules/valid-rule.js
/test/test-rules/invalid-rule.js
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Upon writing custom rules, we often encounter that HTMLHint does not notify us about broken rules.
To Reproduce
Expected behavior
Like in #662 it is expected, that at least some warning is shown, which rule could not be loaded.
Additional context
The result is to be expected due to catching all errors regarding rule imports and ignoring them:
HTMLHint/src/cli/htmlhint.ts
Line 210 in e147134
The text was updated successfully, but these errors were encountered: