postcss / gulp-postcss

Pipe CSS through PostCSS processors with a single parse
MIT License
769 stars 64 forks source link

Support for gulp-reporter #129

Open gucong3000 opened 7 years ago

gucong3000 commented 7 years ago

We all know that code-style checking is very important, but most of the opposition is that the introduction of stylelint and other tools can cause such a problem: A few lines of code are modified by a file in the project, and stylelint will prevent you commit the entire file. Based on this very necessary reason, I developed gulp-reporter.

But for a long time, I have been unable to compatible with gulp-postcss, can the result of postcss external to file object?

See: https://github.com/postcss/gulp-postcss/pull/106/files#diff-168726dbe96b3ce427e7fedce31bb0bcR71

gucong3000 commented 7 years ago

In these projects, they all external results to file object. And this kind of usage is also explicitly mentioned in vinyl's documentation: https://github.com/gulpjs/vinyl#optionscustom