Closed peponi closed 9 years ago
Thanks for the bug report. I was aware of this issue. Sadly, for now, ESLint only apply plugin preprocessors (the function to translate HTML content into pure JS content in the eslint-plugin-html case) when linting a file, not a string (see the processFile
function). As gulp-eslint does not use the processFile
function but a lower level function, preprocessors are not applied.
I (or you) should open an issue either on ESLint or gulp-eslint project to try to solve this.
Hello Benoit
thanks for you answer, would be nice if you write a note about this in your README.md
cheers
Hello
and thx for you plugin I have tried to use it but I got this error
seems the htmlparser2 won't work or so
may be you can tell me what I'm doing wrong
here is my gulp task
.eslintrc
and package.json