-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
I have tried 3 different ways of declaring custom rules, neither of them worked.
Referencing a .htmlhintrc
file:
gulp.task('htmllint', function() {
return gulp.src(settings.app.base + "/index.html")
.pipe(htmllint('.htmlhintrc', htmllintReporter));
});
Referencing a htmlhintrc.json
file:
gulp.task('htmllint', function() {
return gulp.src(settings.app.base + "/index.html")
.pipe(htmllint('htmlhintrc.json', htmllintReporter));
});
And referencing the object inline:
gulp.task('htmllint', function() {
return gulp.src(settings.app.base + "/index.html")
.pipe(htmllint({ "tag-pair": true, "title-require": false }, htmllintReporter));
});
Other than that I always get the following error: (E015) line ending does not match format: lf
and I have found no documentation for this at https://github.com/yaniswang/HTMLHint/wiki/Rules
Metadata
Metadata
Assignees
Labels
No labels