lazd / gulp-csslint

CSSLint plugin for gulp
MIT License
74 stars 12 forks source link

Document breaking change between 0.x to 1.x #59

Open jmcollin78 opened 7 years ago

jmcollin78 commented 7 years ago

Hi there, After upgrading to 1.0, the following code didn't works anymore:

        return (lazypipe()
            .pipe(compass, compassOptions)
            .pipe(csslint)
            .pipe(csslint.reporter)
            .pipe(csslint.failReporter)
            .pipe(livereload)

The error is:

[12:04:10] Error: Invalid call to lazypipe().pipe(): no stream creation function specified
    at validateStep (/home/vagrant/cld-apps/node_modules/lazypipe/index.js:9:10)
    at Function.build.pipe (/home/vagrant/cld-apps/node_modules/lazypipe/index.js:36:4)
    at compassPkg (/datas/cld-apps/gulpfile.js:138:14)
    at Gulp.<anonymous> (/datas/cld-apps/gulpfile.js:168:15)

You rename reporterto formatter. How to replace failReporter ?

I think a few release notes explaining how to migrate to 1.0 would be greatly appreciated from community.