Rules are silently ignored if not valid JavaScript #1035
Labels
bug
Functionality that does not work as intended/expected
keep-unstale
The issue will not be marked as stale by the stale-bot
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: