gulp-lesshint-stylish

Stylish reporter for gulp-lesshint

Usage no npm install needed!

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

README

Gulp Lesshint Stylish reporter

Stylish reporter for gulp-lesshint, uses jshint-stylish to do the actual reporting:

Install

$ npm install --save-dev gulp-lesshint-stylish

Usage

var lesshint = require('gulp-lesshint');
var noop = function () {};
var stylish = require('gulp-lesshint-stylish');

gulp.task('default', function () {
    gulp.src([ 'file.less' ])
        .pipe(lesshint())      // enforce style guide
        .on('error', noop) // don't stop on error
        .pipe(stylish());  // log style errors
});

Credits

Based on the work of Christoph Werner: gulp-jscs-stylish