Open Nightfirecat opened 6 years ago
Fixed this way :
var gulp = require('gulp')
var csslint = require('gulp-csslint')
var reporter = require('gulp-reporter')
gulp.task('lint:css', function() {
return gulp.src(['theme/css/*.css', '!theme/css/*.min.css'])
.pipe(csslint('.csslintrc.json'))
.pipe(csslint.formatter())
.pipe(reporter()) # that stuff was needed here
.pipe(csslint.formatter('fail'))
})
Ref: #63 for input/configuration, except gulpfile.js is as follows:
Expected output should be that of the "Actual output" of #63, actual output is as follows: