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?
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
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, andstylelint
will prevent you commit the entire file. Based on this very necessary reason, I developedgulp-reporter
.But for a long time, I have been unable to compatible with
gulp-postcss
, can the result ofpostcss
external to file object?See: https://github.com/postcss/gulp-postcss/pull/106/files#diff-168726dbe96b3ce427e7fedce31bb0bcR71