You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Workaround, I found this to work as expected, however I don't know if I can feed it multiple paths like ignore is capable of: Run npx htmlhint "**/GoodFolder/**/*.razor"
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.
coliff
added
keep-unstale
The issue will not be marked as stale by the stale-bot
and removed
bot:stale
Issue marked as stale because there was no activity
labels
Aug 14, 2023
The glob package mentions that negation was removed in v6. HTMLHint currently uses glob v8.
globby supportgs negation, but I am not convinced it is worth switching. The user can supply multiple glob patterns as regular arguments to htmlhint. Furthermore, @babel/cli, npm, mocha, tslint, browserify, grunt, styelus, nyc, karma, etc. all use glob, so I think the user experience could be improved without changing how --ignored globs are parsed
Your documentation shows how ignore can handle multiple file paths
https://github.com/htmlhint/HTMLHint/blob/master/docs/user-guide/usage/options.md
However the negation command '!' is currently useless.
This means if I only want to search in a folder, I can't use
!**/GoodFolder/**
Instead I must manually ignore all other folders.
**/BadFolder1/**,......,**/BadFolder8889986767/**
I'd also be ok if you allowed a new rule that would filter paths that could be modified in .htmlhintrc
The text was updated successfully, but these errors were encountered: