Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function lintTask(config) {
// lazy loading required modules.
var gulp = require('gulp');
var jshint = require('jshint');
return gulp.src(config.src)
.pipe(jshint('.jshintrc'))
.pipe(jshint.reporter('default'));
}