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
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).
The text was updated successfully, but these errors were encountered:
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.
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
).The text was updated successfully, but these errors were encountered: