No way to ignore files with bin/htmlhint
Open
Nobody has claimed this yet.
bug
keep-unstale
triage
- Dominant language
- JavaScript
- Stars
- 3.3k
- Forks
- 474
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 12
Description
While there is an option called --ignore it does not seem to have the desired effect. No matter which paths I add files from those directories are still listed with errors.
There is some code at https://github.com/yaniswang/HTMLHint/blob/master/bin/htmlhint#L333 but maybe it's sending the parameters to the walker in a bad format.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in bin/htmlhint around line 333, then inspect how the --ignore paths are passed to the walker. Reproduce the issue with files in an ignored directory and verify that those files no longer appear in the reported errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100