HTMLHint icon indicating copy to clipboard operation
HTMLHint copied to clipboard

Inline rule apply to other files

Open maruTA-bis5 opened this issue 4 years ago • 1 comments

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:

  1. 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

maruTA-bis5 avatar Sep 08 '20 09:09 maruTA-bis5

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.

stale[bot] avatar Nov 07 '20 10:11 stale[bot]