15 lines
228 B
JavaScript
15 lines
228 B
JavaScript
|
/**
|
||
|
* 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());
|
||
|
};
|