bump to 0.1.1
fecs for gulp
Install this plugin with this command:
npm install fecs-gulp --save-dev
In your project’s gulpfile.js.
var gulp = require('gulp'); var fecs = require('fecs-gulp'); gulp.task('test', function () { return gulp.src(['./test/css/*', './test/html/*', './test/js/*']) .pipe(fecs.check( // 可以没有options参数,默认效果和命令行的默认效果一致 // { // 支持的cli属性 // maxerr: 1, // maxsize: 1, // 不支持的属性 // ignore // type // } )) .pipe( // 这么写reporter的配置都是默认的 // fecs.reporter() // fecs.reporter('') // fecs.reporter('default'); // fecs.reporter('baidu') // fecs.reporter(require('fecs/lib/reporter/baidu')) // fecs.reporter('default', { // color: true, // rule: true, // sort: true // }) fecs.reporter('baidu', { color: true, rule: true, sort: true }) ) .pipe(fecs.format( // 可以没有options参数 // { // 不支持replace // 不支持type // 不支持output // } )) .pipe(gulp.dest('./test/output')); });
fecs-options
(Nothing yet)
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
fecs-gulp
Getting Started
Install this plugin with this command:
Usage
Overview
In your project’s gulpfile.js.
Options
fecs-options
Contributing
Release History
(Nothing yet)