1.0.1 • Published 1 year ago

jb-gulp-lesshint-stylish v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Gulp Lesshint Stylish reporter

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

Fork from here.

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