docs/gulpTasks.js
function eslintFn() {
  return gulp
    .src([config.files.docs.srcJS])
    .pipe(eslint())
    .pipe(eslint.formatEach("stylish", process.stderr));
}
function eslintFn() {
  return gulp
    .src([config.files.docs.srcJS])
    .pipe(eslint())
    .pipe(eslint.formatEach("stylish", process.stderr));
}
function eslintFn ( ) { return gulp . src ( [ config . files . docs . srcJS ] ) . pipe ( eslint ( ) ) . pipe ( eslint . formatEach ( "stylish" , process . stderr ) ) ; }
Create a function so we can use it inside of webpack's watch function.
Create a function so we can use it inside of webpack s watch function .