Skip to content
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

Exclude files #69

Open
ghost opened this issue Dec 31, 2015 · 2 comments
Open

Exclude files #69

ghost opened this issue Dec 31, 2015 · 2 comments
Assignees

Comments

@ghost
Copy link

ghost commented Dec 31, 2015

Hello,

I'd like to run htmlcs on my project. However, running htmlcs hint 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 files/globs that should be excluded (like what you can do with .gitignore).

@ghost
Copy link
Author

ghost commented Jan 2, 2016

OK, I don't need this any more (I prefer the solution requested in #72). But maybe someone else does...

@nighca
Copy link
Member

nighca commented Jan 4, 2016

I'll focus on #72 first, and then this. Before I've done that, I'll recommend fecs, which hints HTML files based on htmlcs, however, with better interface (file excluding, path globs support, ...). Maybe you will find it useful.

@nighca nighca self-assigned this Jan 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant