htmlhint-stylish

A Stylish reporter for HTMLHint

Usage no npm install needed!

<script type="module">
  import htmlhintStylish from 'https://cdn.skypack.dev/htmlhint-stylish';
</script>

README

htmlhint-stylish Build Status

Stylish reporter for HTMLHint

Uses jshint-stylish to do the actual reporting:

Compared to the default reporter:

Install

$ npm install --save-dev htmlhint-stylish

Usage

gulp-htmlhint

var gulp = require('gulp');

gulp.task('default', function () {
    gulp.src(['index.html'])
        .pipe(htmlhint('.htmlhintrc'))
        .pipe(htmlhint.reporter('htmlhint-stylish'))
        .pipe(htmlhint.failReporter({
            supress: true
        })); // if you want to your task to fail on error(s)

License

MIT © Rahul Doshi