-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support excluding directories #12
Comments
OK, I don't need this any more (an extended glob pattern is enough in my case). But maybe someone else does... |
@radek-holy What's the glob pattern you used? I ended up having to fork the repo to hard ignore file names containing and having to run |
You can just do I avoid |
Any plans on including the possibility to use |
Late to the party, but for anyone looking for a static glob pattern without having to use
Would be nice if this could be supported by a feature like |
Hello,
I'd like to run htmllint on my project. However, running
htmllint **/*.html
gives a lot of false positives since it lints also the HTML files of the project dependencies stored in./node_modules
. The only workaround I can think of is to list all the directories (e.g.foo/**/*.html
,bar/**/*.html
) and the top-level HTML files (i.e.*.html
). But with this approach, there is a big chance that I'll forget to add a newly created directories in the future and I won't notice that they are not linted.It would be nice if there was a way to list directories/globs that should be excluded (like what you can do with
.gitignore
).The text was updated successfully, but these errors were encountered: