.gulp/tasks/lint.js
function lint(p) {
  return () => {
    gulp.src(p).pipe(g.eslint())
      .pipe(g.eslint.format())
      .pipe(g.eslint.failOnError());
  };
}
function lint(p) {
  return () => {
    gulp.src(p).pipe(g.eslint())
      .pipe(g.eslint.format())
      .pipe(g.eslint.failOnError());
  };
}
function lint ( p ) { return ( ) => { gulp . src ( p ) . pipe ( g . eslint ( ) ) . pipe ( g . eslint . format ( ) ) . pipe ( g . eslint . failOnError ( ) ) ; } ; }
Lint source.

@param p {string} - Path and pattern.
@returns {void|*}
Lint source .