HTMLHint
HTMLHint copied to clipboard
Inline rule apply to other files
Describe the bug
Execute htmlhint cli sometimes happenes false negative when some file uses inline rules.
I saw that HTMLHint.verify(content, ruleset)
changes ruleset's value.
To Reproduce Steps to reproduce the behavior:
- Execute
npx htmlhint **/*.html
- Need multiple files. One of file uses inline rules, other files don't use inline rules.
There are reproducer: https://github.com/maruTA-bis5/htmlhint-inline-rules-breaks-cli
Expected behavior Inline rules should not apply to other files.
Additional context HTMLHint version: 0.14.1
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.