report.js
function runReports(err) {
    if (err) { console.log(chalk.red('Error running reports: %s'), err); }

    var excludes = filesets.platoExcludes();

    if (excludes) {
        platoOptions.exclude = excludes;
    }

    jsHintOptions.ignore = filesets.jshintExcludes();
    jsHintOptions.reporter = reporter.reporter;

    console.log(chalk.blue('Building plato reports...'));
    console.log(chalk.gray('(Ignore any output about being unable to parse ' +
        'JSON files)'));

    plato.inspect(filesets.platoIncludes(), outputDir, platoOptions,
        function() {
            console.log(chalk.blue('\nPlato reports have been built to: ') +
                chalk.magenta(outputDir));
            console.log(chalk.blue('\nJSHint Report\n=============\n'));
            buildJSHint(filesets.jshintIncludes(), jsHintOptions,
                reporter.callback);
        }
    );
}
function runReports(err) {
    if (err) { console.log(chalk.red('Error running reports: %s'), err); }

    var excludes = filesets.platoExcludes();

    if (excludes) {
        platoOptions.exclude = excludes;
    }

    jsHintOptions.ignore = filesets.jshintExcludes();
    jsHintOptions.reporter = reporter.reporter;

    console.log(chalk.blue('Building plato reports...'));
    console.log(chalk.gray('(Ignore any output about being unable to parse ' +
        'JSON files)'));

    plato.inspect(filesets.platoIncludes(), outputDir, platoOptions,
        function() {
            console.log(chalk.blue('\nPlato reports have been built to: ') +
                chalk.magenta(outputDir));
            console.log(chalk.blue('\nJSHint Report\n=============\n'));
            buildJSHint(filesets.jshintIncludes(), jsHintOptions,
                reporter.callback);
        }
    );
}
function runReports ( err ) { if ( err ) { console . log ( chalk . red ( 'Error running reports: %s' ) , err ) ; } var excludes = filesets . platoExcludes ( ) ; if ( excludes ) { platoOptions . exclude = excludes ; } jsHintOptions . ignore = filesets . jshintExcludes ( ) ; jsHintOptions . reporter = reporter . reporter ; console . log ( chalk . blue ( 'Building plato reports...' ) ) ; console . log ( chalk . gray ( '(Ignore any output about being unable to parse ' + 'JSON files)' ) ) ; plato . inspect ( filesets . platoIncludes ( ) , outputDir , platoOptions , function ( ) { console . log ( chalk . blue ( '\nPlato reports have been built to: ' ) + chalk . magenta ( outputDir ) ) ; console . log ( chalk . blue ( '\nJSHint Report\n=============\n' ) ) ; buildJSHint ( filesets . jshintIncludes ( ) , jsHintOptions , reporter . callback ) ; } ) ; }
Run the actual reports. The plato reports are run first, then the JSHint report. The output is annotated with headers and details on where the reports are stored.
Run the actual reports . The plato reports are run first then the JSHint report . The output is annotated with headers and details on where the reports are stored .