lib/reporter.js
function displaySummary(errorCode) {
    var error = errors[errorCode];
    if (error.count > 1) {
        console.log(getChalk(errorCode)('%s: %s (%d instances)'),
            errorCode, error.reason, error.count);
    } else {
        console.log(getChalk(errorCode)('%s: %s (1 instance)'),
            errorCode, error.reason);
    }
}
function displaySummary(errorCode) {
    var error = errors[errorCode];
    if (error.count > 1) {
        console.log(getChalk(errorCode)('%s: %s (%d instances)'),
            errorCode, error.reason, error.count);
    } else {
        console.log(getChalk(errorCode)('%s: %s (1 instance)'),
            errorCode, error.reason);
    }
}
function displaySummary ( errorCode ) { var error = errors [ errorCode ] ; if ( error . count > 1 ) { console . log ( getChalk ( errorCode ) ( '%s: %s (%d instances)' ) , errorCode , error . reason , error . count ) ; } else { console . log ( getChalk ( errorCode ) ( '%s: %s (1 instance)' ) , errorCode , error . reason ) ; } }
The summary output shows the JS Hint error code and the number of times it occurred.
The summary output shows the JS Hint error code and the number of times it occurred .