plugins/lint.js
function parser (content, options, fn) {
      var jshintrc = path.join(process.env.HOME || process.env.USERPROFILE, '.jshintrc')
        , jshintninja = configurator(jshintrc)
        , config = options.jshint;

      // extend all the things
      config = _.extend(config, jshintninja);

      canihaz.jshint(function lazyload (err, jshint) {
        if (err) return fn(err);

        var validates = jshint.JSHINT(content, config)
          , errors;

        if (!validates) errors = formatters.js(jshint.JSHINT.errors);
        fn(null, errors);
      });
    }
function parser (content, options, fn) {
      var jshintrc = path.join(process.env.HOME || process.env.USERPROFILE, '.jshintrc')
        , jshintninja = configurator(jshintrc)
        , config = options.jshint;

      // extend all the things
      config = _.extend(config, jshintninja);

      canihaz.jshint(function lazyload (err, jshint) {
        if (err) return fn(err);

        var validates = jshint.JSHINT(content, config)
          , errors;

        if (!validates) errors = formatters.js(jshint.JSHINT.errors);
        fn(null, errors);
      });
    }
function parser ( content , options , fn ) { var jshintrc = path . join ( process . env . HOME || process . env . USERPROFILE , '.jshintrc' ) , jshintninja = configurator ( jshintrc ) , config = options . jshint ; // extend all the things config = _ . extend ( config , jshintninja ) ; canihaz . jshint ( function lazyload ( err , jshint ) { if ( err ) return fn ( err ) ; var validates = jshint . JSHINT ( content , config ) , errors ; if ( ! validates ) errors = formatters . js ( jshint . JSHINT . errors ) ; fn ( null , errors ) ; } ) ; }
JSHint the content

@param {String} content
@param {Object} options
@param {Function} fn
@api private
JSHint the content