lib/jshint-helper.js
function (filePath, options)
    {
        gulpUtil.log(gulpUtil.colors.blue("jsHint"), pathHelper.makeRelative(filePath));

        var jsHintConfig = jsHintConfigHelper.getRules(xtend({
            lookup: false,
            esnext: false
        }, options));

        gulp.src(filePath)
            .pipe(plumber())
            .pipe(jshint(jsHintConfig))
            .pipe(jshint.reporter(jshintStylish));
    }
function (filePath, options)
    {
        gulpUtil.log(gulpUtil.colors.blue("jsHint"), pathHelper.makeRelative(filePath));

        var jsHintConfig = jsHintConfigHelper.getRules(xtend({
            lookup: false,
            esnext: false
        }, options));

        gulp.src(filePath)
            .pipe(plumber())
            .pipe(jshint(jsHintConfig))
            .pipe(jshint.reporter(jshintStylish));
    }
function ( filePath , options ) { gulpUtil . log ( gulpUtil . colors . blue ( "jsHint" ) , pathHelper . makeRelative ( filePath ) ) ; var jsHintConfig = jsHintConfigHelper . getRules ( xtend ( { lookup : false , esnext : false } , options ) ) ; gulp . src ( filePath ) . pipe ( plumber ( ) ) . pipe ( jshint ( jsHintConfig ) ) . pipe ( jshint . reporter ( jshintStylish ) ) ; }
Lints a given file

@param {string} filePath
@param {{esnext: boolean}} [options]
Lints a given file