diff --git a/gulp/tasks/xo.js b/gulp/tasks/xo.js new file mode 100644 index 0000000000000000000000000000000000000000..bf349c92c3657f12b47675a021404dea25588a65 --- /dev/null +++ b/gulp/tasks/xo.js @@ -0,0 +1,14 @@ +/** + * Dependencies + */ +const gulp = require('gulp'); +const xo = require('gulp-xo'); + +/** + * Module body / Expose + */ +module.exports = (entry, config) => { + config = config || {}; + return gulp.src(entry) + .pipe(xo()); +};