Gulp plugin for Parker, a stylesheet analysis tool.
npm install --save-dev gulp-parker2
NOTE: Since
gulp-parker
were already taken, I had to rename my plugin togulp-parker2
.
var gulp = require('gulp');
var parker = require('gulp-parker2');
gulp.task('parker', function() {
return gulp.src('./css/*.css')
.pipe(parker());
});
Options are passed into parker()
as an object and will be passed to parker aswell.
Default: All
Define a range of metrics you'd like to run. See a list of available metrics for Parker
Default: json
Define which format the results should be printed in. Currently supported:
- json
- human
- object (will not print, used to e.g. pipe)
Defining custom metrics- Defining custom formats
Proper error checking- Implement latest Parker features
You can pitch in by submitting issues and pull requests. But before you do so, make sure it is specific to this wrapper, otherwise report issues at Parker's issue tracker.