copyleftconf-website/gulp/tasks/xo.js

15 lines
228 B
JavaScript
Raw Normal View History

/**
* 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());
};